Skip to content

Bug: Sending daily emotion to server returns 500 error. #834

@BillTheBeast

Description

@BillTheBeast

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?

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions