Unable to search

Status
Not open for further replies.
Dex-chan lover
Joined
Oct 9, 2019
Messages
1,974
I cannot use the search bar on the website. If I want to search manga, I have to go to the "Advanced Search",
 
Solution
the user search is failing with a 403.
this is a bit more helpful
though it would still be nice if you could provide this:
  • the error response (json code) of the request that was 403'd
  • the exact text what you're searching
here is an example post from me

This happened right around the time I got forum banned.
This should have nothing to do with it.
Or rather, I'm 100% sure it doesn't since the frontend doesn't send the session token to the search endpoint, which means it doesn't have a way to identify and block specifically you
Staff
Super Moderator
Joined
Aug 19, 2020
Messages
780
I cannot use the search bar on the website. If I want to search manga, I have to go to the "Advanced Search",
6a0120a85dcdae970b0128776ff992970c-pi.png

a bit more information would be useful
like
  • do all api requests succeed (if no, then the status code and error response would be useful)
  • what's your browser
  • what you're searching
 
Dex-chan lover
Joined
Oct 9, 2019
Messages
1,974
6a0120a85dcdae970b0128776ff992970c-pi.png

a bit more information would be useful
like
  • do all api requests succeed (if no, then the status code and error response would be useful)
  • what's your browser
  • what you're searching
I actually checked devtools and the user search is failing with a 403. This happened right around the time I got forum banned.
 
Staff
Super Moderator
Joined
Aug 19, 2020
Messages
780
the user search is failing with a 403.
this is a bit more helpful
though it would still be nice if you could provide this:
  • the error response (json code) of the request that was 403'd
  • the exact text what you're searching
here is an example post from me

This happened right around the time I got forum banned.
This should have nothing to do with it.
Or rather, I'm 100% sure it doesn't since the frontend doesn't send the session token to the search endpoint, which means it doesn't have a way to identify and block specifically you
 
Solution
Dex-chan lover
Joined
Oct 9, 2019
Messages
1,974
Well at some point it fixed itself so either my forum ban itself was tied to it or something changed
this is a bit more helpful
though it would still be nice if you could provide this:
  • the error response (json code) of the request that was 403'd
  • the exact text what you're searching
here is an example post from me


This should have nothing to do with it.
Or rather, I'm 100% sure it doesn't since the frontend doesn't send the session token to the search endpoint, which means it doesn't have a way to identify and block specifically you
The session token is sent. Here's a sample fetch:
JavaScript:
fetch("https://api.mangadex.org/user?username=test&limit=5", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.9",
    "authorization": "Bearer oh.no.you.didn't",
    "sec-ch-ua": "\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"macOS\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-site",
    "Referer": "https://mangadex.org/",
    "Referrer-Policy": "strict-origin"
  },
  "body": null,
  "method": "GET"
});
 
Status
Not open for further replies.

Users who are viewing this thread

Top