Error handling
Errors and Status Codes
If a request fails any validations, expect a 422 and errors in the following format:
Other status codes:
401 for Unauthorized requests, when a request requires authentication but it isn’t provided
403 for Forbidden requests, when a request may be valid but the user doesn’t have permissions to perform the action
404 for Not found requests, when a resource can’t be found to fulfill the request