Hello Ready Player Me Support,
I am trying to use the v2 API to generate avatars with a freshly generated API key. My key is assigned to my application and has WRITE permissions for Avatars. However, every request returns a 401 Unauthorized error.
- Endpoint:
https://api.readyplayer.me/v2/avatars
- Method: POST
- Headers:
- Authorization: Bearer [my-key]
- Content-Type: application/json
- Body:
{ "gender": "masculine", "bodyType": "average" }
- Error:
{"type":"UnauthorizedError","status":401,"message":"Unauthorized"}
I have regenerated the key, ensured permissions and app assignment, and tested with curl and PowerShell. Please advise on how to resolve this.