Skip to content

Errors

Every error response, on every endpoint, has the same shape:

{
"error": {
"code": "PDF_RENDERING_FAILED",
"message": "The PDF could not be generated.",
"request_id": "req_1a2b3c4d5e6f"
}
}

error.code is part of the public contract — stable across versions, safe to match on in client code. Include request_id when reporting an issue.

See each endpoint’s reference page — PDF, Templates, API Keys — for the specific codes it can return.