{"_id":"565f80f4bca87d0d006bc759","version":{"_id":"55de36ec9067202b00de0015","__v":33,"project":"55dd0853d2d97337001800e2","createdAt":"2015-08-26T22:00:12.384Z","releaseDate":"2015-08-26T22:00:12.383Z","categories":["55de36ed9067202b00de0016","55de36ed9067202b00de0017","55de36ed9067202b00de0018","55df7dcd437b3f0d004ba204","55e4e014177b6e0d00333141","55e4e01fe252ac0d00303a99","55e4e05240cda60d003bad67","55e4e070177b6e0d00333142","55e4e0753325e60d007fbee6","55e4e0803325e60d007fbee7","55e4e086177b6e0d00333143","55e4e0a1177b6e0d00333144","55e4e0aa3325e60d007fbee8","55e4e0b140cda60d003bad6b","55e4e0bae252ac0d00303a9d","55e4e0c5177b6e0d00333145","55e4e0ee3325e60d007fbeea","55e4e0fae252ac0d00303a9e","55e4e100177b6e0d00333147","55f85c8ba3271b0d00498d55","56092e1ac5cff70d007d0131","564b64a3ee12850d0095866e","564b64b5791099170071e9ea","565cd0bfd18ae50d007183d8","565f5f5d6bafd40d0030a063","565f790d6bafd40d0030a09f","56611c464851190d003f9f5d","56637d5b7988ab0d00d0522e","56637d687988ab0d00d0522f","567835df6928b40d009dd650","56e59c043c29b117008dae5b","5704013559c5190e000ab646","572be252de40590e00026934","58af1bf6ebd7370f0078ba09","5cdad81d912ece0039e9a939"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"parentDoc":null,"user":"55dd080d0efd5821000d53b3","category":{"_id":"565f790d6bafd40d0030a09f","version":"55de36ec9067202b00de0015","__v":5,"pages":["565f79846c2a8d0d00276553","565f7a2a813aeb0d007b7588","565f80a2813aeb0d007b7592","565f80f4bca87d0d006bc759","565f812413f6680d0022df2e"],"project":"55dd0853d2d97337001800e2","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-02T23:04:45.791Z","from_sync":false,"order":9,"slug":"errors","title":"Errors"},"githubsync":"","project":"55dd0853d2d97337001800e2","__v":6,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-02T23:38:28.104Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"The error response contains an Error Type that helps to identify broad categories of errors.\n\nIn production, the most common Error Types are the \"***requestError***\" and \"***accessError***\". Validation errors and various payment decline errors fall under the \"***requestError***\" type. Attempting to access a resource using with a valid access token that does not have access to a particular resource will result in an \"***accessError***\".\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"apiConnectionError\",\n    \"1-0\": \"apiError\",\n    \"2-0\": \"authenticationError\",\n    \"3-0\": \"accessError\",\n    \"4-0\": \"requestError\",\n    \"5-0\": \"rateLimitError\",\n    \"0-1\": \"Failure to connect to the API.\",\n    \"1-1\": \"General API error.\",\n    \"2-1\": \"There was a problem with the authentication.\",\n    \"3-1\": \"There was a problem accessing a resource.\",\n    \"4-1\": \"There was a problem with the request.\",\n    \"5-1\": \"Too many requests.\",\n    \"h-0\": \"Type\",\n    \"h-1\": \"Description\"\n  },\n  \"cols\": 2,\n  \"rows\": 6\n}\n[/block]","excerpt":"","slug":"error-types","type":"basic","title":"Error types"}
The error response contains an Error Type that helps to identify broad categories of errors. In production, the most common Error Types are the "***requestError***" and "***accessError***". Validation errors and various payment decline errors fall under the "***requestError***" type. Attempting to access a resource using with a valid access token that does not have access to a particular resource will result in an "***accessError***". [block:parameters] { "data": { "0-0": "apiConnectionError", "1-0": "apiError", "2-0": "authenticationError", "3-0": "accessError", "4-0": "requestError", "5-0": "rateLimitError", "0-1": "Failure to connect to the API.", "1-1": "General API error.", "2-1": "There was a problem with the authentication.", "3-1": "There was a problem accessing a resource.", "4-1": "There was a problem with the request.", "5-1": "Too many requests.", "h-0": "Type", "h-1": "Description" }, "cols": 2, "rows": 6 } [/block]