Last updated February 12, 2016
Used by: All endpoints. When the xmlstats API service returns an error, the response body will contain this object.
Name | Type | Description |
---|---|---|
code |
string | Typically corresponds with the HTTP status code |
description |
string | Information about what went wrong |
The Xmlstats Error object will return in the format of the API request.
{ "error" : { "code" : "404", "description" : "The requested resource: /example404.json does not exist. Please see https://erikberg.com/api for valid requests." } }
<?xml version="1.0" encoding="UTF-8"?> <error> <code>404</code> <description>The requested resource: /example404.xml does not exist. Please see https://erikberg.com/api for valid requests.</description> </error>