Learn about HTTP status codes

DynamoPDF employs standard HTTP response codes to signal the success or failure of an API call. In general, codes in the 2xx range imply success. Codes in the 4xx range indicate an error that occurred based on the information provided (e.g., a mandatory parameter was omitted, an improper format was used, etc.). Codes in the 5xx range indicate a server fault (rare).

4xx errors include an error code (and sometimes additional data) that briefly explain the error reported.

HTTP Status codeDescription
200 - OKAll went as expected
400 - Bad RequestThe request was rejected. Typically, this is due to an invalid or missing required parameter
401 - UnautorizedNo valid API key provided
404 - Not FoundThe requested resource doesn't exist
429 - Too Many RequestsToo many requests hit the API too quickly. Read more about rate limiting
500, 503 - Server ErrorSomething went wrong on DynamoPDF's end (rare)