{"_id":"5adcc1185cd1890003da816b","category":{"_id":"5adcc1185cd1890003da8166","version":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-17T08:09:17.710Z","from_sync":false,"order":1,"slug":"documentation","title":"Documentation"},"project":"5530bfac57cea10d00a3aa3b","user":"5530bf7457cea10d00a3aa3a","parentDoc":null,"version":{"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":3,"createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","categories":["5adcc1185cd1890003da8166","5adcc1185cd1890003da8167","5adcf4b3ce4b3f00035317e9","5adfb8e9452bd900036d115b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-27T10:55:46.720Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"Most common API error responses are described below. Error response must be identified by **HTTP status** and **reason** attribute in your application.\n\nPlease note that specific API methods (for example [Create Order](doc:create-order)) have their own errors (e.g. 422 Unprocessable Entity - when order is not valid).\n\nSee [Common Issues](doc:issues) for troubleshooting.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"HTTP Status\",\n    \"h-1\": \"Reason\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"401 (Unauthorized)\",\n    \"0-1\": \"BadCredentials\",\n    \"0-2\": \"API credentials are not valid\",\n    \"1-0\": \"404 (Not Found)\",\n    \"1-1\": \"PageNotFound\",\n    \"1-2\": \"Page, action or record not found\",\n    \"2-0\": \"404 (Not Found)\",\n    \"2-1\": \"RecordNotFound\",\n    \"2-2\": \"Record not found\",\n    \"3-0\": \"500 (Internal Server Error)\",\n    \"3-1\": \"InternalServerError\",\n    \"3-2\": \"Something wrong in CoinGate\",\n    \"4-0\": \"429 (Too Many Requests)\",\n    \"4-1\": \"RateLimitException\",\n    \"4-2\": \"API request limit is exceeded\"\n  },\n  \"cols\": 3,\n  \"rows\": 5\n}\n[/block]\nResponse example:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"message\\\": \\\"Not found App by Access-Key\\\",\\n  \\\"reason\\\": \\\"BadCredentials\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"CoinGate API error responses","slug":"common-errors","type":"basic","title":"Errors"}

Errors

CoinGate API error responses

Most common API error responses are described below. Error response must be identified by **HTTP status** and **reason** attribute in your application. Please note that specific API methods (for example [Create Order](doc:create-order)) have their own errors (e.g. 422 Unprocessable Entity - when order is not valid). See [Common Issues](doc:issues) for troubleshooting. [block:parameters] { "data": { "h-0": "HTTP Status", "h-1": "Reason", "h-2": "Description", "0-0": "401 (Unauthorized)", "0-1": "BadCredentials", "0-2": "API credentials are not valid", "1-0": "404 (Not Found)", "1-1": "PageNotFound", "1-2": "Page, action or record not found", "2-0": "404 (Not Found)", "2-1": "RecordNotFound", "2-2": "Record not found", "3-0": "500 (Internal Server Error)", "3-1": "InternalServerError", "3-2": "Something wrong in CoinGate", "4-0": "429 (Too Many Requests)", "4-1": "RateLimitException", "4-2": "API request limit is exceeded" }, "cols": 3, "rows": 5 } [/block] Response example: [block:code] { "codes": [ { "code": "{\n \"message\": \"Not found App by Access-Key\",\n \"reason\": \"BadCredentials\"\n}", "language": "json" } ] } [/block]