Common Errors

Mode APIs use HTTP status codes to let you know the status of a request.

Common error codes

400 Bad Request

ErrorbadRequest
MessageRequired parameters supplied are either missing or invalid. Check the error message in the response body for more details
DetailsA list of issues found in supplied JSON payload

401 Unauthorized

Errorunauthorized
MessageUnauthorized token. Check the error message in the response body for more details

403 Forbidden

Errorforbidden
MessageAccess to this resource is unauthorized

404 Not Found

ErrornotFound
MessageThe resource could not be found. Check the error message in the response body for more details

405 Method Not Allowed

ErrormethodNotAllowed
MessageThe HTTP method used is not allowed

500 Internal Server Error

Errorunknown
MessageUnexpected Server Error