mojang-api
mojang-api copied to clipboard
Username issue
So iv a users name were trying to pull via your API and its finding her and NOT finding her its super weird so need some advice.
Here there finding them via UUID https://api.ashcon.app/mojang/v2/user/82a73a21-37cb-4292-8d24-9a6739d422ef
BUT
if we search them via name its not finding them AT ALL. https://api.ashcon.app/mojang/v2/user/Bellflower_ What do you recommend, as were only allowing USERNAMES to be found at the current time, Don't really want to allow UUID's to be entered into the box (Plus usernames are easy for our users and straight forward, Which is our WHOLE model).
Really strange, will look at the debug logs to see what's going on.
Mojang actually responded with a 204 on their username.
{
"lastModified": 1680538842634,
"url": "https://api.mojang.com/users/profiles/minecraft/Bellflower_",
"response": {"status":204, "statusText":"No Content"}
}
When I check now though, it's changed. So this should be fixed once I'm able to decrease the cache timings.
Mojang actually responded with a
204on their username.{ "lastModified": 1680538842634, "url": "https://api.mojang.com/users/profiles/minecraft/Bellflower_", "response": {"status":204, "statusText":"No Content"} }When I check now though, it's changed. So this should be fixed once I'm able to decrease the cache timings.
Can you give me a @ once its fixed please so I can let my users know :) many thanks.
Mojang actually responded with a
204on their username.{ "lastModified": 1680538842634, "url": "https://api.mojang.com/users/profiles/minecraft/Bellflower_", "response": {"status":204, "statusText":"No Content"} }When I check now though, it's changed. So this should be fixed once I'm able to decrease the cache timings.
Any ETA on this its been 2 weeks.
Iv another occurrence of this issue happening.
https://api.ashcon.app/mojang/v2/user/SykamoreTree (errors out) https://api.ashcon.app/mojang/v2/user/f23eff13-b598-48e2-8ee7-e0cfc660c2b0
Same here (still a year?) with name flamefirezf, uuid 53b13666-4cd9-4344-a6e6-7576183f081f
- Could it be the reason that the different methods we got MC? for example, shopping in microsoft store or use a gift code. Because it seems all my friends have no problem by shopping in the store, only I was using a gift code meet this.
- By the way, Mojang's official API has no problem in converting both sides.