Link Search Menu Expand Document

Status Errors returned by PDF.co

API returns https status but also returns JSON that includes status parameter indicating error.

Status valueDescription
200The request has succeeded
400bad input parameters
401unauthorized
402not enough credits
403forbidden (source file or url is not accessible)
408Timeout error. To process large documents or files please use asynchronous mode ( set async parameter to true) and then check the status using /job/check endpoint. If file contains many pages then specify a page range using pages parameter. The number of pages of the document can be obtained using the endpoint /pdf/info

! Don’t forget to set x-api-key url param or http header param (preferred) to API key. Get your API key here