Planisfy
Guides

Error Handling

Learn the Planisfy JSON error shape, request IDs, common codes, and retry behavior.

Error Handling

Most API errors use this shape:

{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human readable message"
  }
}

Validation errors can include additional details. Production-safe unhandled errors include a request ID in the response body, and every request receives an X-Request-Id header.

Common status codes

StatusMeaning
400Invalid parameters, coordinates, versions, or request body.
401Missing, invalid, or expired authentication.
403Authenticated caller is not allowed to access the resource or scope.
404Resource, version, tile, font range, or configured asset was not found.
429Runtime rate limit or monthly quota was exceeded.
501A feature exists but the backing service is not configured, such as static rendering.
502An upstream map service returned an error.
503Required backing service is unavailable or not configured.

Retry guidance

Retry 429 only after Retry-After or X-RateLimit-Reset. Retry 502 and 503 with backoff. Do not retry 400, 401, 403, or 404 without changing the request.

For self-hosted deployments, check /health/detailed and /setup/preflight before debugging clients. See operations and performance.

On this page