Skip to content

Developers

Errors & troubleshooting

All APIs use standard HTTP status codes and return a JSON body with a message and a reference you can quote to support.

CodeMeaningWhat to do
400Bad requestA required parameter is missing or malformed. Check the parameter list for the endpoint.
401UnauthorizedMissing or invalid API key. Send a valid key in the X-API-Key header.
403ForbiddenThe key is valid but lacks the required scope, or the request is share-alike gated (e.g. bulk data).
404Not foundNo resource at this path/coordinate (e.g. no tile), or the endpoint path is wrong.
422UnprocessableThe request was understood but can’t be fulfilled — e.g. no route between the points.
429Too many requestsRate limit exceeded. Back off and retry after the Retry-After header. See rate limits.
5xxServer errorA transient problem on our side. Retry with exponential backoff; if it persists, contact support.

Recovery patterns

  • Retry 429 and 5xx with exponential backoff and jitter; respect Retry-After.
  • Do not retry 400/401/403 — fix the request or key instead.
  • Log the reference from the error body when contacting support.