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

Username issue

Open Cynocles opened this issue 2 years ago • 6 comments
trafficstars

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

Cynocles avatar Apr 02 '23 03:04 Cynocles

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

Electroid avatar Apr 03 '23 16:04 Electroid

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.

Electroid avatar Apr 03 '23 16:04 Electroid

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 avatar Apr 04 '23 23:04 Cynocles

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 avatar Apr 18 '23 21:04 Cynocles

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

Cynocles avatar Apr 27 '23 11:04 Cynocles

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.

FlameFire26 avatar Jun 09 '24 17:06 FlameFire26