{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Status Codes","type":"basic","slug":"errors","excerpt":"","body":"The following codes are valid: \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Code\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Reason\",\n    \"0-0\": \"200\",\n    \"0-2\": \"Everything worked *successfully*!\",\n    \"0-1\": \"Success\",\n    \"1-1\": \"Bad Request\",\n    \"1-0\": \"400\",\n    \"1-2\": \"Your request could not be understood by the server.\",\n    \"2-2\": \"We couldn't authorize you, or you have used the wrong API key\",\n    \"2-1\": \"Unauthorized\",\n    \"2-0\": \"401\",\n    \"6-1\": \"Too many requests\",\n    \"6-2\": \"You’re requesting too much! Slow down!\",\n    \"6-0\": \"429\",\n    \"7-0\": \"500\",\n    \"7-1\": \"Internal Server Error\",\n    \"7-2\": \"Hell's fire let loose\",\n    \"3-0\": \"403\",\n    \"3-1\": \"Forbidden\",\n    \"3-2\": \"The resource requested is restricted for your API Key.\",\n    \"4-0\": \"404\",\n    \"4-1\": \"Not Found\",\n    \"4-2\": \"The specified resource could not be found.\",\n    \"5-0\": \"405\",\n    \"5-1\": \"Method Not Allowed\",\n    \"5-2\": \"You tried to access a resource with an invalid method.\",\n    \"8-0\": \"503\",\n    \"8-1\": \"Service Unavailable\",\n    \"8-2\": \"We’re temporarily offline for maintenance. Please try again later.\"\n  },\n  \"cols\": 3,\n  \"rows\": 9\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"body\": \"We may return errors not listed above, so don't rely on the errors. Check the content of the JSON blob as well.\",\n  \"title\": \"Watch Out!\"\n}\n[/block]\nAll errors will return a JSON blob in the following format:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  code: 403,\\n  message: \\\"Your API Key does not have the privilege to access this set of information\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"55928a86c39c4b2d00127a81","category":{"sync":{"isSync":false,"url":""},"pages":["559286c7c39c4b2d00127a73","559289bfc39c4b2d00127a7d","559289f9b823772300f00f0e","55928a86c39c4b2d00127a81","55928aaac39c4b2d00127a84","56542cd921e73e23000d40b3"],"title":"DOCUMENTATION","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"559286c7c39c4b2d00127a72","__v":6,"createdAt":"2015-06-30T10:16:50.052Z","project":"55926c913735880d005f7c65","version":"559286c6c39c4b2d00127a71"},"createdAt":"2015-06-30T12:24:38.537Z","parentDoc":null,"project":"55926c913735880d005f7c65","user":"55926c39cf9cdb2100b57022","__v":13,"githubsync":"","version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["559286c7c39c4b2d00127a72","55928a98c39c4b2d00127a83","5592bd7b9a68220d00f1c3db","5593dcaf0e82e81700334e25","5594342f0c33bd0d000595a3","563081713998420d00a509e4","5630941c7581b80d00c51c86","56309f4ff1c0580d00fac666","567923b8239fac0d00c7df25","573306dea6a9c40e00e13875","577a288fd051530e00f65563","579af3982b865e17005a4357","57ee06aa1e42900e0014a374","5951f49a63f39000159e7ef1","5951f4c563f39000159e7ef2","598951542a9dfc000fcacd40","5b3375cc98cb500003e4b363","5bbcd4e29667280003084100"],"_id":"559286c6c39c4b2d00127a71","createdAt":"2015-06-30T12:08:38.768Z","project":"55926c913735880d005f7c65","releaseDate":"2015-06-30T12:08:38.768Z","__v":18,"forked_from":"559286b6c39c4b2d00127a6e"}}
The following codes are valid: [block:parameters] { "data": { "h-0": "Code", "h-1": "Name", "h-2": "Reason", "0-0": "200", "0-2": "Everything worked *successfully*!", "0-1": "Success", "1-1": "Bad Request", "1-0": "400", "1-2": "Your request could not be understood by the server.", "2-2": "We couldn't authorize you, or you have used the wrong API key", "2-1": "Unauthorized", "2-0": "401", "6-1": "Too many requests", "6-2": "You’re requesting too much! Slow down!", "6-0": "429", "7-0": "500", "7-1": "Internal Server Error", "7-2": "Hell's fire let loose", "3-0": "403", "3-1": "Forbidden", "3-2": "The resource requested is restricted for your API Key.", "4-0": "404", "4-1": "Not Found", "4-2": "The specified resource could not be found.", "5-0": "405", "5-1": "Method Not Allowed", "5-2": "You tried to access a resource with an invalid method.", "8-0": "503", "8-1": "Service Unavailable", "8-2": "We’re temporarily offline for maintenance. Please try again later." }, "cols": 3, "rows": 9 } [/block] [block:callout] { "type": "danger", "body": "We may return errors not listed above, so don't rely on the errors. Check the content of the JSON blob as well.", "title": "Watch Out!" } [/block] All errors will return a JSON blob in the following format: [block:code] { "codes": [ { "code": "{\n code: 403,\n message: \"Your API Key does not have the privilege to access this set of information\"\n}", "language": "json" } ] } [/block]