Electroid / mojang-api

Bundle multiple Minecraft APIs into a single GET request.
https://api.ashcon.app/mojang/v2/user/Notch
MIT License
242 stars 17 forks source link

Username issue #72

Open Cynocles opened 1 year ago

Cynocles commented 1 year ago

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).

Electroid commented 1 year ago

Really strange, will look at the debug logs to see what's going on.

Electroid commented 1 year ago

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.

Cynocles commented 1 year ago

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.

Can you give me a @ once its fixed please so I can let my users know :) many thanks.

Cynocles commented 1 year ago

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.

Any ETA on this its been 2 weeks.

Cynocles commented 1 year ago

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

FlameFire26 commented 5 months ago

Same here (still a year?) with name flamefirezf, uuid 53b13666-4cd9-4344-a6e6-7576183f081f