Status Errors returned by PDF.co

Status Errors returned by PDF.co

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

| Status value| Description| |-- |-- |200| The request has succeeded| |400| bad input parameters| |401| unauthorized| |402| not enough credits| |403| forbidden (source file or url is not accessible)| |408| Timeout 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

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.