Errors in responses
Rated API’s errors will always be returned as JSON
detail
key and its value can be either a list of dictionaries or a string describing the error message.
400 Bad Request
401 Unauthorized
Authorization
header with a Bearer
token.