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 code | Description |
---|---|
200 - OK | All went as expected |
400 - Bad Request | The request was rejected. Typically, this is due to an invalid or missing required parameter |
401 - Unautorized | No valid API key provided |
404 - Not Found | The requested resource doesn't exist |
429 - Too Many Requests | Too many requests hit the API too quickly. Read more about rate limiting |
500, 503 - Server Error | Something went wrong on DynamoPDF's end (rare) |