Skip to main content
PDFDyno uses standard HTTP response codes to indicate the success or failure of an API request. In general:
  • Codes in the 2xx range indicate success.
  • Codes in the 4xx range 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 5xx range indicate an error with PDFDyno’s servers.

Error Response Format

When an error occurs, PDFDyno returns a JSON response containing an error 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.