HTTP Response Codes

The Sailthru API will return the following HTTP Response codes.

If the response is anything other than a 200 OK, an error message and Sailthru error codes will also be returned.

  • 200 OK: Success!
  • 400 Bad Request: The request cannot be fulfilled due to bad syntax or an invalid parameter.
  • 401 Unauthorized: Invalid authentication credentials. For example, a request to Sailthru API with an invalid API Key
  • 403 Forbidden: Valid request but it has been rejected by the server. For example: a request to cancel a send that was already sent; a request to delete a blast that has started sending; etc.
  • 404 Not Found: Resource was not found. For example: request to get a blast that doesn't exist
  • 405 Method Not Found: A request was made of a resource using a request method not supported by that resource. For example: Making A DELETE request to contacts API call
  • 500 Internal Server Error: Something is broken on the Sailthru side. This shouldn't happen normally.
 
/var/www/docs.sailthru.com/htdocs/data/pages/api/http-response-codes-and-errors.txt · Last modified: 2011/08/08 12:01 by Praj Tuladhar
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki