Secure Endpoint API - Errors Guide

Errors and Troubleshooting

Error responses from the API generally use standard HTTP status codes. Some examples:

Status Code Status Message Meaning
200 OK Request accepted, response returned
201 Created New resource created successfully
204 No Content Request accepted, response payload body is empty
400 Bad Request Request was invalid
401 Unauthorized Authentication missing or incorrect
403 Forbidden Request was understood but not allowed
404 Not Found Targeted resource not found
500 Internal Server Error Internal error occurred in the server
503 Service Unavailable Server is unable to complete request

Error Handling

The API will raise exceptions in the event something has failed, such as missing or invalid parameters. We recommend writing code that gracefully handles all possible API exceptions.