[API] [Friend list] [/friends/not-friends-yet] The response status is 500 instead of 400 when sort with invalid parameter #6382
Labels
API
back-end
This is label if this task is back-end
Bug
Friend list
Functional
My habits
Epic
My space
Pri: high
Sev: major
Milestone
Environment: Windows 10 Pro, Postman
Reproducible: always
Build found: 21.09.23
Preconditions
The user is logged in, and the token is gotten.
Steps to reproduce
(e.g. {parametr}: 'qwer')
Actual result
The status code is 500 Internal Server Error
Expected result
The status code is 400 Bad Request
User story and test case links
E.g.: "User story #1003
The text was updated successfully, but these errors were encountered: