mojang-api icon indicating copy to clipboard operation
mojang-api copied to clipboard

Error 404

Open andreasdc opened this issue 3 years ago • 4 comments
trafficstars

Is error 404 intentional when calling from java for no-premium players?

andreasdc avatar Mar 15 '22 18:03 andreasdc

If by "no-premium players" you mean people who have not purchased Minecraft, then they don't exist in the Mojang database -- hence the 404 (not found) error.

harvanchik avatar Mar 16 '22 20:03 harvanchik

If by "no-premium players" you mean people who have not purchased Minecraft, then they don't exist in the Mojang database -- hence the 404 (not found) error.

When you open it in the browser you see: { "code": 404, "error": "Not Found", "reason": "No user with the name 'user' was found" }

andreasdc avatar Mar 17 '22 19:03 andreasdc

If by "no-premium players" you mean people who have not purchased Minecraft, then they don't exist in the Mojang database -- hence the 404 (not found) error.

Also it shows 404 for premium players...

andreasdc avatar Mar 17 '22 19:03 andreasdc

https://github.com/Electroid/mojang-api/issues/28

egorprnn avatar Apr 17 '22 05:04 egorprnn

Fixed in https://github.com/Electroid/mojang-api/commit/991e1e9850220cf2124a2d7a7375b52385507ea3

Electroid avatar Nov 26 '22 21:11 Electroid