string(10) "api-errors" API Foutmeldingen | Kortingcity - de marktplaats voor deals
Winkelier plaats uw eigen deal
Ontvang de Kortingcity Deals

API Foutmeldingen

API Foutmeldingen

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


Sample JSON Error Response

HTTP/1.1 400 Bad Request { "error": { "httpCode":400, "message":"Unable to find city" } }

Sample Invalid XML Request


Sample XML Error Response

HTTP/1.1 400 Bad Request
<?xml version="1.0"?>
Unable to find city