mojira.dev
WEB-5959

Mojang API returns errors

Often https://api.mojang.com/users/profiles/minecraft/ returns read time out, today I had more than 200 situations like that. 

Linked issues

Comments 10

It also returns 500 http response code.

There could be a file or something removed and from a result of this, the game returns errors???

 

The game? The api often returns errors, 500 for example.

Is this link from the description supposed to give a message like this

"{"error":"Not Found","errorMessage":"The server has not found anything matching the request URI"}"

when opened? Are there also any other messages appearing besides this one, and the other you mentioned in a prevoius comment? 

Around 17:00 CET whole api went down, sessionserver, api.mojang.com

Hey, does the issue still occur for you? 

Yes, I sometimes see 500 and 503 error codes.

Please see https://wiki.vg/Mojang_API for the new API methods. https://api.mojang.com/users/profiles/minecraft/ appears to be functioning now as well.

To @Greymagic27, please review [MC-267771] Unable to /whitelist add : "That player does not exist" - Jira (mojang.com) again. `/whitelist add` command uses POST https://api.mojang.com/profiles/minecraft via mojang.authlib (You break your own library, it's not just custom libraries people write) on all versions below 1.21.1. While you may say that you only support snapshots + 1.21.4, by removing an old endpoint you break all dedicated servers, which used whitelist as well. You can't simply update a server to a new auth library jar.

@unknown Thanks for reaching out. I'll reopen your bug report as this may be an unintended side effect of the API changing. I can't promise anything but I will reopen it at least.

hmc

(Unassigned)

API

Retrieved