Skip to content

Error when trying to update user data #36

Description

@KirillDemyanenko

When sending a PATCH request to update user data, a 500 error is returned

PATCH https://flapp.sytes.net/api/v1/users/me/
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzAyOTgyNzczLCJqdGkiOiJiZmJlYjY3YjE4MmY0YzFhOTg2YTcyZWYxZWM0ZDMxNiIsInVzZXJfaWQiOjJ9.BJe_SFBaRYx5qED1_A739wcSfBuaD1o-OA8U4zIEPH0

{
  "email": "user1@mail.com",
  "username": "user1",
  "first_name": "cat",
  "last_name": "cat",
  "longitude": 90.1,
  "latitude": 90.1,
  "status": "cat"
}

error

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvalidThis doesn't seem rightwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions