Hello!
I've put together a script that synchronizes my game's Game Center Achievement status with a couple of spreadsheets that define them, including their many translations.
I've got the JWT authentication working, got a list of achievements, and successfully created the ones that didn't exist.
I'm now iterating over the localizations under each achievement, but I'm stuck because an API end point is giving me a 404 and I can't work out why.
The URI I'm posting to is https://api.appstoreconnect.apple.com/v1/gameCenterAchievementLocalizations as per the documentation.
I might expect a 404 if I wasn't authorized, but my key is definitely authorized to create new achievements, because I've done that.
I know that the API will give me back reasonable response codes if my data is bad, as I've seen 409 Conflict, 422 Unprocessable etc. when developing previous parts of the script. Even if it might give a 404 for reasons of bad data, I've eyeballed the data and it looks exactly like the example.
I'm stuck where to go next with diagnosis when the URL matches exactly. Is it possible the documentation is out of date? I did try POSTing to https://api.appstoreconnect.apple.com/v1/gameCenterAchievements/xxxxx/localizations (where *** is the game center id) and it gave me a 405 Not Allowed, which was very clear.
Thanks for any suggestions.