API /profiles/minecraft down
Request:
curl https://api.mojang.com/profiles/minecraft -X POST -H "Content-Type: application/json" --data '["k0l0r3k99"]'
returns:
{"error":"BadRequestException","errorMessage":"Bad Request"}instead of array of array of accounts
Linked Issues
Created Issue:
API /profiles/minecraft down
Request:
curl https://api.mojang.com/profiles/minecraft -X POST -H "Content-Type: application/json" --data '["k0l0r3k99"]'
returns:
{"error":"BadRequestException","errorMessage":"Bad Request"}instead of array of array of accounts
is duplicated by
relates to
is duplicated by
When running the commands "/whitelist add Tis_awesomeness" or "/whitelist add jeb_" while the players are not online, the server responds with "That player does not exist" instead of actually adding the player to the whitelist. This also happens when running /op instead of /whitelist.
I and a few others tested the commands on vanilla online-mode 1.16.5 servers (though it probably affects many versions) and got the same result each time.
Workaround: Manually edit whitelist.json and ops.json
Caused by WEB-4457
As stated in your description, this issue is being caused by WEB-4457. This is due to the api being down and therefore whitelisting not working.
This isn't something that can be fixed within the game and is a problem with the API.
Actually, seems like that API is currently down. See WEB-4457.
When adding a user to my whitelist I receive a "That player does not exist" error. Here is a similar ticket, WEB-4457, which explains how the whitelisting curl request works.
I am able to run the curl request on my residential network so it appears the server is not down. However, I asked my host to run the curl request on their node and it appears that Mojang's CDN, CloudFront, is blocking the connection. I asked my host try it on a node in a different datacenter location, thinking I could just transfer my server, and they encountered the same issue. It would appear for that CloudFront is blocking datacenters from making the curl request necessary for whitelisting. This is problematic because many Minecraft servers are run in datacenters. I have attached a screenshot of the CloudFront error.
Can confirm. This also breaks adding usernames to server whitelists. "/whitelist add Tis_awesomeness" and "/whitelist add jeb_" both fail with "That player does not exist" on a vanilla online-mode Java 1.16.5 server.
Breaking whitelists is a massive bug, this issue should be upgraded to important priority.
It's similar to:
WEB-3469This issue also seems to make you unable to /give player heads of players that are not currently in the world/server
This has now been fixed.
Thanks for reporting!