{
"success": false,
"event": "PDF_GENERATION_FAILED",
"requestId": "req_123",
"mode": "async",
"errorCode": "500",
"subCode": "PDF_GENERATION_FAILED",
"message": "PDF generation failed",
"details": "Template compilation error",
"meta": {
"issues": []
},
"timestamp": "2025-09-14T12:34:56Z"
}Endpoints
pdf.failed
We POST this event to your endpoint if PDF generation fails in async mode. Your endpoint must return a 2xx response within 10 seconds. Use the svix-id, svix-timestamp, and svix-signature headers to verify authenticity with your Svix signing secret.
WEBHOOK
pdf.failed
{
"success": false,
"event": "PDF_GENERATION_FAILED",
"requestId": "req_123",
"mode": "async",
"errorCode": "500",
"subCode": "PDF_GENERATION_FAILED",
"message": "PDF generation failed",
"details": "Template compilation error",
"meta": {
"issues": []
},
"timestamp": "2025-09-14T12:34:56Z"
}Headers
Body
application/json
Response
200
Receipt acknowledged
⌘I