HTTP Status Codes
All QI Tech APIs follow the standard HTTP status codes as defined in the RFC 7231:
HTTP Status | Meaning | Description |
---|---|---|
400 | Bad Request | The request sent contains a formatting error. In most cases, we return a message body explaining where the error is. |
401 | Unauthorized | There was a problem with authentication. Check if the API Key is correct and placed in the proper header, as explained in the Authentication section. |
403 | Forbidden | The accessed endpoint is for internal use and not available for this API Key. |
404 | Not Found | The requested data could not be found using the provided key. This status is also returned when an invalid endpoint is requested. |
405 | Method Not Allowed | The HTTP method used is not supported by the requested endpoint. |
406 | Not Acceptable | The data sent in the request body is invalid. Usually, this means the payload is not valid JSON. |
409 | Conflict | The request ID corresponds to an ID that has already been processed. This status is returned in case of duplicate requests. |
500 | Internal Server Error | We encountered an issue while processing the request. When this happens, our specialists are automatically notified and begin investigating immediately. |
503 | Service Unavailable | You encountered an infrastructure outage, whether planned or unplanned, on our servers. |