- Codes in the
2xxrange indicate success. - Codes in the
4xxrange indicate an error that failed given the information provided (e.g., a required parameter was omitted, JSON was invalid, or the Typst syntax was incorrect). - Codes in the
5xxrange indicate an error with PDFDyno’s servers.
Error Response Format
When an error occurs, PDFDyno returns a JSON response containing anerror object with a message explaining what went wrong.
HTTP Status Codes
Here is a comprehensive list of status codes you might encounter:If you encounter a
400 Bad Request related to Typst syntax, ensure you test your template locally or in the Typst Web App before sending it via the API.