[Mainsite] Unexpected end of JSON input

Dex-chan lover
Joined
Sep 7, 2019
Messages
400
Supporter
Joined
May 24, 2020
Messages
119
When you open the resource, https://mangadex.org/title/28289/living-in-this-world-with-cut-paste, the app sends a POST request to https://mangadex.org/legacy/mapping and gets a 405 Response, which means the server isn't allowing it to POST.

You get that JSON input error because it is reading the error 405 message instead of json data.

Sending a GET request to https://mangadex.org/legacy/mapping returns a 404 Response, which means that there is no legacy mapping at https://mangadex.org

Copying the original request the user interface made, but sending it to to https://api.mangadex.org/legacy/mapping instead does result in a successful response, that includes json data, that includes the key acaf9991-d55c-4d8d-8f26-f98d769f4e32 that you need to get to the current version of the resource.

It's not something a user can fix, but someone with the source code should be able to fix it in a matter of seconds. They just need to replace all instances of "https://mangadex.org/legacy/mapping" with "https://api.mangadex.org/legacy/mapping"
 

Users who are viewing this thread

Top