{"_id":"57209ab2c27adc2b002a95c2","project":"5530bfac57cea10d00a3aa3b","user":"5530bf7457cea10d00a3aa3a","category":{"_id":"5530bfad57cea10d00a3aa3f","project":"5530bfac57cea10d00a3aa3b","version":"5530bfad57cea10d00a3aa3e","__v":4,"pages":["5530bfae57cea10d00a3aa41","55d3914c0168850d0073f2ad","55d42de47789b50d00f696b9","55d44999b49ab11900328e66"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-17T08:09:17.710Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"version":{"_id":"5530bfad57cea10d00a3aa3e","project":"5530bfac57cea10d00a3aa3b","__v":3,"createdAt":"2015-04-17T08:09:17.192Z","releaseDate":"2015-04-17T08:09:17.192Z","categories":["5530bfad57cea10d00a3aa3f","55d368cff77e6d0d00b1b0d0","55d37623f77e6d0d00b1b11c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":5,"parentDoc":null,"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":3,"body":"Most common API error responses described below. Error response must be identified by **HTTP status** and **reason** attribute in your application.\nPlease note, that specific API methods, for example [Create Order](doc:create-order) has their own errors (422 Unprocessable Entity - when order is not valid).\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 is 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":"","slug":"common-errors","type":"basic","title":"Errors"}
Most common API error responses 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) has their own errors (422 Unprocessable Entity - when order is not valid). [block:parameters] { "data": { "h-0": "HTTP Status", "h-1": "Reason", "h-2": "Description", "0-0": "401 (Unauthorized)", "0-1": "BadCredentials", "0-2": "API credentials is 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]