Response Codes
BigPanda uses conventional HTTP response codes to indicate the success or failure of an API request. When a request is successful, BigPanda sends a response code to indicate that it received the message. If a request fails, the response code may help with troubleshooting an error.
This table lists some of the common response codes you may receive from the BigPanda API. Refer to the API reference documentation for specific response codes and errors, where applicable.
Response | Description |
---|---|
200 OK | Success. |
201 Created | New resource created. |
202 Accepted | The request has been accepted for processing. |
204 No Content | There is no content to send for this request. |
400 Bad Request | Default code for invalid requests. For example, it is missing a mandatory field. Check the error message and ensure that the JSON includes the correct parameters. |
401 Unauthorized | Token is invalid or missing. Check that the request includes the correct HTTP headers. |
403 Forbidden | Access denied. |
404 Not Found | Requested endpoint isn't available. Ensure that the request uses one of the API endpoints specified in the documentation. |
409 Conflict | Request cannot be performed due to a conflict. For example, attempting to resolve an incident that's already resolved. |
410 Gone | Requested resource is no longer available and has been removed permanently. Consult the documentation to see what endpoints are supported currently. |
500 Internal Server Error | Default code for errors that occur due to problems on BigPanda servers. Retry the request after some time. |
501 Not Implemented | Unsupported method. |