API Errors
API Errors
Error Response Format
All error responses contain at least the top level error object with httpCode and message
- httpCode - HTTP status code
- message - Human readable message indicating why the api request failed
Sample Invalid JSON Requests
GET http://www.bestofboutiquenow.com/api?city=themoon&client_id=5cd27f66bac85fb6a1a1ee9e1b7f311d53811c74&format=json
Sample JSON Error Response
HTTP/1.1 400 Bad Request
{
"error":
{
"httpCode":400,
"message":"Unable to find city"
}
}
Sample Invalid XML Request
GET http://www.bestofboutiquenow.com/api?city=themoon&client_id=5cd27f66bac85fb6a1a1ee9e1b7f311d53811c74&format=xml
Sample XML Error Response
HTTP/1.1 400 Bad Request
<?xml version="1.0"?>
<response>
<error>
<httpCode>
400
</httpCode>
<message>
Unable to find city
</message>
</error>
</response>
API Resources
Terms of Use
Legally binding fine print.
Branding Requirements
Read before you start coding.
API Documentation
Help docs for API