Errors
The Polaris API uses conventional HTTP status codes. 2xx means success, 4xx means a client error, 5xx means something went wrong on our end.
Most errors are actionable — double-check your token, account ID, and request parameters before reaching out for support.
Error response format
{
"type": "authentication_error",
"message": "Invalid or missing access token."
}
Status codes
2xxRequest succeeded.
400 Bad RequestMissing or invalid parameters. Check the
messagefield for details.401 UnauthorizedInvalid or missing
Authorizationheader.403 ForbiddenYour token doesn't have access to this resource.
404 Not FoundThe requested resource doesn't exist.
429 Too Many RequestsRate limit exceeded. Retry after the
Retry-Afterheader value.5xx Server ErrorSomething went wrong on our end. These are rare and automatically monitored.
Error types
authentication_errorInvalid or missing access token.
permission_errorYour token does not have access to this resource.
not_foundThe requested resource does not exist.
rate_limit_exceededToo many requests. Slow down and retry after
Retry-Afterseconds.
{
"type": "account_id_invalid",
"message": "The account ID provided is not valid.",
"documentation_url": "https://docs.polaris.revlv.com/errors"
}