Documentation

Errors & Rate Limits

Every PDFend error carries a machine-readable code, a human message, and a request_id for support.

Error shape

jsonexample
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "html is required",
    "details": [{ "field": "html", "message": "Required" }]
  },
  "request_id": "req_01HX..."
}

Error codes

HTTPCodeMeaning
400VALIDATION_ERRORRequest body failed schema validation
401AUTHENTICATIONMissing or invalid API key
402PLAN_LIMIT_EXCEEDEDMonthly plan quota reached
404NOT_FOUNDTemplate or generation not found
429RATE_LIMIT_EXCEEDEDToo many requests, honor Retry-After
500INTERNAL_ERRORUnexpected server error — contact support with request_id
502RENDER_FAILEDBrowser could not render the HTML

Retrying

textexample
HTTP/1.1 429 Too Many Requests
Retry-After: 2