HTTP Response Codes
The APITube News API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx
range indicate success, codes in the 4xx
range indicate an error due to the information provided by the client, and codes in the 5xx
range indicate an error on the server side.
HTTP Response Code | Status | Description |
---|---|---|
200 | ok | Everything worked as expected. |
400 | not_ok | API request is malformed or contains invalid parameters. |
401 | not_ok | API key is invalid or missing. |
402 | not_ok | Your account balance is negative. |
404 | not_ok | Entry not found. |
422 | not_ok | Unprocessable failure. |
429 | not_ok | The emergence of this error code indicates surpassing the rate limit allocated for your plan. You must wait for the rate limit to reset before initiating additional requests. |
500 | not_ok | The appearance of this error code signifies an unforeseen server error. Typically, this is a transient problem, so it's advisable to attempt your request again at a later time. |