Response status codes
Standard HTTP status codes are returned as part of the response to API calls. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error which resulted from the information provided by the client and codes in the 5xx range indicate a problem encountered within the API system which prevented the API call completing successfully. For example, the following HTTP status codes can be returned by API calls:
Code | Description |
---|---|
200 |
OK -- the response completed successfully. |
400 |
Bad Request -- for example, the request was missing required parameters. |
401 |
Unauthorized -- authentication failed. |
404 |
Not Found -- the specified resource was not found (for example, no submission with the specified id was found when trying to retrieve results). |
500 |
Internal Server Error -- an error occurred within the API system which prevented the request completing successfully. |