Skip to content

Error when sending a PUT request #37

Description

@KirillDemyanenko

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

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

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

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