Successful response codes
In addition to the rate limit information in the header, the APIs attempt to generate a response code and also include an appropriate explanation in a JSON body when necessary. For all codes greater than 200, clients should wait before attempting another connection.
HTTP return code on success
|push/delete||204 No content|
|historics/start||204 No content|
|historics/stop||204 No content|
|historics/update||204 No content|
|historics/delete||204 No content|
|source/validate||Not available yet|
|source/delete||204 No content|
Summary of the codes you might see
Response codes in the 400 range indicate an error with the client. Codes in the 500 range indicate a problem with the server.
The API call was successful.
You have successfully connected. This code is returned, for example, by the /source/create endpoint in our Managed Sources API and indicates that authentication has succeeded and you are logged in correctly to the data source that you want to filter in DataSift.
The API call was accepted. The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place
The server successfully processed the request, but is not returning any content.
400 Bad Request
Bad request from the client.
HTTP authentication failed due to a non-existent username or an incorrect API key.
Your account has been denied access due to a violation.
- Streaming API: Invalid hash.
- REST API: endpoint not found.
429 Too Many Requests
You have hit your API rate limit. Not supported by API versions prior to 1.2.
500 Server Internal Error
Try again. You shouldn't see this error. Please contact support.
503 Service Unavailable
Try again. The node you were routed to is unavailable.