Skip to content
Wardcase Docs

Errors

Errors come back as RFC 9457 problem documents with the content type application/problem+json. The type field is a URL on this site that names the problem, so you can branch on it in code and open it in a browser.

{
"type": "https://docs.wardcase.com/errors/free-tier-limit",
"title": "Free tier limit reached",
"status": 402,
"detail": "The free tier allows 2 sandboxes at once"
}
FieldMeaning
typeThe problem type, one of the URLs below
titleA short summary of the problem type
statusThe HTTP status code
detailWhat went wrong with this request
instanceWhen present, identifies this occurrence. Include it when you write to business@wardcase.com.
errorsFor validation errors, a list of path and message pairs

The SDKs turn these into typed errors with status, type, detail and code, the slug. They retry 429, 502 and 503 for you, and other 5xx responses when the request is safe to repeat. Errors and limits has the details, every limit, and the errors the SDKs raise when no response arrives.

TypeStatusMeaning
validation400Validation failed
unauthorized401Missing or invalid credential
forbidden403Missing scope
not-found404Not found
conflict409Conflict with the resource's state
free-tier-limit402Free tier limit reached
org-blocked403Organization blocked
rate-limited429Too many requests
no-capacity503No capacity in the region
host-timeout504Host did not answer in time
payload-too-large413Payload too large
internal500Internal error