500 error when updating username to an already used username #83
Labels
Category: Quality Assurance
Changes to code or files that improve testing or fixes bugs.
Type: Bug
Bug or Bug fixes.
Describe the bug
When I use the /PUT User api - and update a username to an already taken username, it returns a 500 Internal Server error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
return a more descriptive error message than: 500
In the register user api call - if you use an existing username - you get a 400 error with this message:
That might be better than returning a 500 Internal Server Error
Screenshots
n/a
Desktop (please complete the following information):
n/a
Smartphone (please complete the following information):
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: