Errors & status codes
Errors & status codes
How Scout reports failures, and which responses are safe to retry.
Status codes
Error body
Errors return a JSON object with a detail field. For a single failure
detail is a string; for a 422 validation error it is a list of the
offending fields.
Response headers
Successful responses carry timing and cache diagnostics.
Retrying
A 503 is transient - capacity or a momentary block - and is safe to retry
with exponential backoff. A 502 may be retried once. A 422 is a problem
with the request itself and will fail again unchanged.