Response Codes
This is the list of all HTTP response status codes returned by ConvertAPI. The three-number code describes HTTP Status code and four number code shows additional information about the result in the response body. The example response body of authentication failure:
Response Header
HTTP status code 401
Response body
{
"Code": 4013,
"Message": "Missing credentials. Please provide a valid API token."
}Result
200 OKConversion completed successfully.
Malformed request
400 Bad RequestRequest does not provide all data to execute the conversion.4000Parameter validation error.4001No content disposition provided.4002Bad JSON format.4005File encoded in Base64 not found.
Authentication
401 UnauthorizedAuthentication failure.4010Invalid user credentials. Please provide a valid secret.4011Invalid user credentials. Please provide a valid token.4012Invalid user credentials. Please provide a valid self generated token.4013Missing credentials. Please provide a valid API token.4014The conversion balance reached zero, and no more conversions can be done.4015User inactive.
Not Supported
415 Unsupported Media TypeThe file is not supported by file server or endpoint.
Conversion failure
500 Internal Server ErrorConversion failure.5000Conversion timeout.5001Conversion failed.5002File is damaged.5003File is password protected.5004No tables to extract in PDF file.5005Can not delete all document pages. The document should contain at least one page.5006The current encryption algorithm does not support Unicode passwords.5007Cannot decrypt PDF.5008Unable to access the file.5009File id is invalid.50010File link is set incorrectly. Url or File Id must be set.50013Images were not found in the PDF file.50020There are no supported files available for extraction.50050Unexpected exception. We have been notified about the problem and will try to fix it asap.
Throttle failure
503 service unavailableRequest rejected due to rate limits. Retry is available after a few seconds.
Updated 4 months ago