What doesn't work?
When sending the daily emotion state to the server it returns with a 500 error message.
The data does in fact get saved as it should (and is present when player data is fetched) but it returns an error.
HTTP/1.1 500 Internal Server Error: {"errors":[{"response":"UNEXPECTED","status":500,"message":null,"name":"APIError","reason":"UNEXPECTED","field":null,"value":null,"additional":{},"statusCode":500}],"statusCode":500}
What is the endpoint and method? (if applicable)
Endpoint: /player/emotion
Method: POST
How can it be reproduced?
- Send a emotion string to the endpoint with a valid playertoken.
What should it do instead?
Return 204 as a sign that the emotion data was received and stored. Otherwise, the client would think that it didn't work properly.
What doesn't work?
When sending the daily emotion state to the server it returns with a 500 error message.
The data does in fact get saved as it should (and is present when player data is fetched) but it returns an error.
HTTP/1.1 500 Internal Server Error: {"errors":[{"response":"UNEXPECTED","status":500,"message":null,"name":"APIError","reason":"UNEXPECTED","field":null,"value":null,"additional":{},"statusCode":500}],"statusCode":500}
What is the endpoint and method? (if applicable)
Endpoint: /player/emotion
Method: POST
How can it be reproduced?
What should it do instead?
Return 204 as a sign that the emotion data was received and stored. Otherwise, the client would think that it didn't work properly.