1. Overview
  2. API Reference
  3. HTTP Status Codes

HTTP Status Codes

Here is a detailed explanation of common HTTP status codes utilised by the goPDF.pro server - 

200 - OK Your request has been successfully processed, and goPDF.pro has generated the requested document. A status code of 200 will be returned to indicate the successful generation of an asynchronous document. 
400 - Bad Request  This error code means your request can not be completed as expected. goPDF.pro will return this code if the download key is not valid, if the requested document has not completed, if there is an error in your generated document, or if there are errors in your HTTP POST request. 
401 Unauthorised This status code indicates that proper authorization is necessary for the request. When using goPDF.pro, this code will be returned specifically if the provided API key is invalid or missing. Ensure that the correct and valid API key is provided to authenticate and access the requested resources. 
403 Forbidden A 403 status code means the request was made correctly, but the server is refusing to respond. We will return this status code if you do not have permission to view the status of that document, or if you are making too many simultaneous document generation requests. 
502 Bad Gateway The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. 
503 Service Unavailable The server is not ready to handle the request. Common causes include the server being down for maintenance or being overloaded. 

Was this article helpful?