Skip to main content
PagePith returns JSON errors with an HTTP status and a machine-readable error code. Branch on both values instead of parsing the human-readable message.

Common status codes

Retry guidance

Retry transient 502 and 503 responses with exponential backoff and jitter. Do not automatically retry 400, 401, 402, 403, or 404 responses without changing the request or account state.