Error Notifications

Wile requesting data, errors might occur and whenever it is possible, SlashDB tries to provide you with useful information. For instance, if a requested resource doesn't exist, SlashDB will display:

Errors are also provided for data in forms of JSON and XML, so

will produce:

  "http_code": 404,
  "description": "The resource could not be found."


  <description>The resource could not be found.</description>


SlashDB also gives users an option to get the error info directly form the Response Headers, placing them under the Warning header i.e. for the previous XML request:

HTTP/1.1 404 Not Found
Content-Length: 155
Content-Type: text/xml; charset=utf-8
Date: Mon, 05 Dec 2016 14:24:35 GMT
Server: waitress
Warning: The resource could not be found.

results matching ""

    No results matching ""