Errors
Errors share one shape:
{ "error": { "code": "not_found", "message": "Asset not found." } }
| Status | Code | What to do |
|---|---|---|
| 400 | invalid_request | Fix the query parameter named in message. |
| 401 | invalid_token | The token expired or was revoked. Refresh, then retry once. |
| 404 | not_found | The asset, company, or route doesn’t exist, or you don’t have access to it. |
| 405 | method_not_allowed | Only GET is supported. |
| 500 | server_error | Retry with backoff. |
The token endpoint uses standard OAuth errors: {"error": "invalid_grant", "error_description": "…"}.