Skip to content
Press.js Press.js Press.js Docs

Error Reference

Every API error returns a JSON body with error (machine-readable code) and message (human-readable description). This page lists every error code, what triggers it, whether it is safe to retry, and how to respond.

Error codeTriggerRetry?Action
invalid_inputRequest body failed validationNoFix the request payload and retry
invalid_path_paramURL path parameter is missing or malformedNoFix the parameter value
invalid_query_paramQuery parameter is missing or out of rangeNoFix the query parameter
invalid_headerA required header is missing or malformedNoFix the header value
upload_blob_too_largeA single file exceeds the max blob size for the planNoSplit or compress the file; see limits
upload_session_too_largeUpload session exceeds max files or total bytesNoReduce the session size; see limits
Error codeTriggerRetry?Action
missing_authorizationNo Authorization header was providedNoAdd Authorization: Bearer pcak_...
invalid_api_keyAPI key is malformed or uses the wrong prefixNoVerify the key format starts with pcak_
Error codeTriggerRetry?Action
api_key_disabledAPI key has been disabledNoEnable the key in the dashboard or create a new one
insufficient_permissionAPI key does not have the required permissionNoUse a key with the required scope
upload_token_missingX-Upload-Token header is required but not presentNoInclude the upload token from session creation
upload_token_invalidX-Upload-Token is invalid or does not match the sessionNoVerify you are using the correct token
Error codeTriggerRetry?Action
deploy_not_foundDeploy ID does not existNoVerify the deploy ID
deploy_version_not_foundVersion ID does not exist or deploy has no matching versionNoVerify the version ID
upload_session_not_foundUpload session ID does not existNoVerify the session ID or create a new session
render_job_not_foundRender job ID does not existNoVerify the job ID
render_job_output_not_foundRender job output has been deleted or never existedNoCheck if the job has completed
pdf_asset_not_foundManaged PDF ID does not existNoVerify the PDF ID
Error codeTriggerRetry?Action
deploy_slug_conflictDeploy slug is already taken by another deploy in your accountNoChoose a different slug
deploy_version_conflictUpload session references a deploy version that cannot be updatedNoCreate a new upload session
upload_session_not_openUpload session is already committed or expiredNoCreate a new session
upload_session_blob_not_referencedUploaded blob’s sha256 does not match any file in the sessionNoVerify file descriptors match uploaded content
render_job_not_failedCannot retry a render job that is not in failed stateNoOnly retry jobs with status failed
render_job_output_state_conflictOutput is in a state that prevents the requested operationNoCheck output state before retrying
render_job_runningOperation conflicts with an active render jobWaitWait for the running job to complete
idempotency_conflictSame Idempotency-Key used with different request bodiesNoUse a unique key per unique request
Error codeTriggerRetry?Action
upload_session_expiredUpload session TTL has elapsed (1 hour)NoCreate a new upload session
render_job_output_expiredRender output has been deleted or retention period passedNoCreate a new render job with a fresh payload
Error codeTriggerRetry?Action
not_implementedRoute is defined but not yet implementedNoCheck API documentation for availability
Error codeTriggerRetry?Action
render_provider_not_configuredRender provider is not ready for the requested operationYesRetry after a short delay; contact support if persistent

These errors are documented in Plan Limits.

Error codeTriggerRetry?Action
upload_session_policy_limit_exceededUpload exceeds file count or byte limitNoReduce upload size or upgrade plan
deploy_commit_policy_limit_exceededDeploy commit exceeds file count or byte limitNoReduce version size or upgrade plan
storage_limit_exceededAccount storage exceeds plan limitNoDelete unused resources or upgrade plan
deploy_commit_quota_exceededDeploy commits exceed monthly allowanceNoWait for next period or upgrade plan
render_job_quota_exceededRender jobs exceed monthly allowanceNoWait for next period or upgrade plan
render_time_quota_exceededRender time exceeds monthly allowanceNoWait for next period or upgrade plan
  • Not retryable (Retry? No): Fix the cause before retrying. Retrying without changes will produce the same error.
  • Retryable (Retry? Yes): Use exponential backoff with jitter (start at 1s, max 30s). These errors indicate transient conditions.
  • Wait: The resource is busy. Poll at a reasonable interval (2–5s) until the state changes.