Skip to content

Errors

Every error is an RFC 9457 problem: application/problem+json with a type URI of https://pacspilot.app/errors/{slug}, a title, the HTTP status, an optional detail and a requestId to quote to support. Match on the slug, not on the text.

{
  "type": "https://pacspilot.app/errors/rate-limited",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Too many requests",
  "requestId": "01JA2Z6Q7Y9K3M5N8P0R2S4T6V"
}
Type Status Meaning Retry
unauthenticated 401 Not authenticated No
forbidden 403 Not allowed No
rate-limited 429 Rate limited Yes
ai-limit 429 AI limit reached Yes
offset-too-deep 400 Page too deep No
quota-exceeded 429 Limit reached No
spend-cap 429 Daily limit reached Yes
store-busy 503 Practice database busy Yes
validation 400 Invalid request No
invalid-json 400 Body is not JSON No
unsupported-media-type 415 Unsupported content type No
length-required 411 Content-Length required No
payload-too-large 413 Body too large No
too-large 413 Message too large No
incomplete-body 400 Incomplete body Yes
not-found 404 Not found No
store-full 507 Practice database full No
tenant-migrating 503 Practice is being moved Yes
tenant-suspended 403 Practice is read-only No
trial-expired 403 Trial has ended No
trial-cap 403 Trial limit reached No
changelog-disabled 404 Changelog is off No
specialty-disabled 404 Specialty pack is off No
cockpit-disabled 404 Feature is off No
ai-disabled 403 AI apps are off No
ai-app-inactive 403 AI app is not active No
ai-unknown-study 404 Study was not sent to this app No
ai-callback-disabled 403 JSON results are off for this app No
internal 500 Internal error Yes