{"__v":0,"_id":"575676128749830e00681e8d","category":{"version":"575676128749830e00681e82","project":"55a4d5531a5f991700a9409e","_id":"575676128749830e00681e89","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T09:25:52.836Z","from_sync":false,"order":4,"slug":"errors","title":"Errors"},"parentDoc":null,"project":"55a4d5531a5f991700a9409e","user":"560266564f15002100ee444b","version":{"__v":2,"_id":"575676128749830e00681e82","project":"55a4d5531a5f991700a9409e","createdAt":"2016-06-07T07:21:54.005Z","releaseDate":"2016-06-07T07:21:54.005Z","categories":["575676128749830e00681e83","575676128749830e00681e84","575676128749830e00681e85","575676128749830e00681e86","575676128749830e00681e87","575676128749830e00681e88","575676128749830e00681e89","575676128749830e00681e8a","575676128749830e00681e8b","580c5ff36c35230f003d3b49"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-15T09:26:22.333Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Error responses are derived from the [Error Responses](doc:error-responses) object and can be extended with additional properties.\nThe error codes follow HTTP standards.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Http Status Code\",\n    \"h-1\": \"Code\",\n    \"h-2\": \"Exception\",\n    \"h-3\": \"Description\",\n    \"0-0\": \"503\",\n    \"1-0\": \"401\",\n    \"2-0\": \"422\",\n    \"3-0\": \"401\",\n    \"4-0\": \"500\",\n    \"5-0\": \"500\",\n    \"6-0\": \"500\",\n    \"7-0\": \"500\",\n    \"0-1\": \"503\",\n    \"1-1\": \"401\",\n    \"2-1\": \"422\",\n    \"3-1\": \"RET-001\",\n    \"4-1\": \"RET-002\",\n    \"5-1\": \"RET-003\",\n    \"6-1\": \"RET-004\",\n    \"7-1\": \"RET-005\",\n    \"0-2\": \"ServiceUnavailable\",\n    \"1-2\": \"Unauthorized\",\n    \"2-2\": \"UnprocessableEntity\",\n    \"3-2\": \"RetailerUnauthorized\",\n    \"4-2\": \"InvalidDeliveryLocation\",\n    \"5-2\": \"InvalidPickupLocation\",\n    \"6-2\": \"InvalidDeliveryDateTime\",\n    \"7-2\": \"OpeningHoursConflict\",\n    \"0-3\": \"Retailer service is temporarily unavailable.\",\n    \"1-3\": \"HMAC authorization failed.\",\n    \"2-3\": \"Your request was understood, but contained invalid parameters\",\n    \"3-3\": \"The Retailer is unauthorized to make the request.\",\n    \"4-3\": \"The delivery location is located outside of the Urb-it availability zone.\",\n    \"5-3\": \"No valid Pickup location was found for the given Pickup location identifier.\",\n    \"6-3\": \"The specified delivery date and time is invalid for the specified [Delivery Type](doc:delivery-type).\",\n    \"7-3\": \"The expected delivery date and time conflicts with pickuplocations opening hours.\"\n  },\n  \"cols\": 4,\n  \"rows\": 8\n}\n[/block]\n## Example ##\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status\\\": 401,\\n  \\\"code\\\": \\\"401\\\",\\n  \\\"message\\\": \\\"Invalid authorization method.\\\",\\n  \\\"developer_message\\\": \\\"The provided authorization method is not supported. Supported methods are OAuth1a and UWA.\\\",\\n  \\\"more_info\\\": null\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nMore information about the response can be found in [Error Responses](doc:error-responses)","excerpt":"","slug":"error-codes","type":"basic","title":"Error Codes"}

Error Codes


Error responses are derived from the [Error Responses](doc:error-responses) object and can be extended with additional properties. The error codes follow HTTP standards. [block:parameters] { "data": { "h-0": "Http Status Code", "h-1": "Code", "h-2": "Exception", "h-3": "Description", "0-0": "503", "1-0": "401", "2-0": "422", "3-0": "401", "4-0": "500", "5-0": "500", "6-0": "500", "7-0": "500", "0-1": "503", "1-1": "401", "2-1": "422", "3-1": "RET-001", "4-1": "RET-002", "5-1": "RET-003", "6-1": "RET-004", "7-1": "RET-005", "0-2": "ServiceUnavailable", "1-2": "Unauthorized", "2-2": "UnprocessableEntity", "3-2": "RetailerUnauthorized", "4-2": "InvalidDeliveryLocation", "5-2": "InvalidPickupLocation", "6-2": "InvalidDeliveryDateTime", "7-2": "OpeningHoursConflict", "0-3": "Retailer service is temporarily unavailable.", "1-3": "HMAC authorization failed.", "2-3": "Your request was understood, but contained invalid parameters", "3-3": "The Retailer is unauthorized to make the request.", "4-3": "The delivery location is located outside of the Urb-it availability zone.", "5-3": "No valid Pickup location was found for the given Pickup location identifier.", "6-3": "The specified delivery date and time is invalid for the specified [Delivery Type](doc:delivery-type).", "7-3": "The expected delivery date and time conflicts with pickuplocations opening hours." }, "cols": 4, "rows": 8 } [/block] ## Example ## [block:code] { "codes": [ { "code": "{\n \"status\": 401,\n \"code\": \"401\",\n \"message\": \"Invalid authorization method.\",\n \"developer_message\": \"The provided authorization method is not supported. Supported methods are OAuth1a and UWA.\",\n \"more_info\": null\n}", "language": "json" } ] } [/block] More information about the response can be found in [Error Responses](doc:error-responses)