mojang-api
mojang-api copied to clipboard
v2 returns invalid error codes
If we reach the set limit for obtaining information for a certain period of time, v2 api returns 404 instead of 429, in v1 everything is fine
Thanks will investigate.
This happens with absolutely all errors.
Thanks will investigate.
Will be nice to get this fixed, this api is almost non usable, because of that.
Thanks will investigate.
Currently mojang is down and your api shows users as offline.
{ "code": 404, "error": "Not Found", "reason": "No user with the name 'test' was found" }
While mojang right now: {"error":"Internal Server Error","errorMessage":"The server encountered an unexpected condition which prevented it from fulfilling the request"}
Sorry this took so long, fixed in https://github.com/Electroid/mojang-api/commit/991e1e9850220cf2124a2d7a7375b52385507ea3