{"_id":"565f812413f6680d0022df2e","__v":4,"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":"","user":"55dd080d0efd5821000d53b3","parentDoc":null,"project":"55dd0853d2d97337001800e2","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"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-02T23:39:16.907Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"Error Detail Codes give a more granular description of an error. \n\nThere are access errors (\"***insufficientResourceAccess***\", \"***insufficientFeatureAccess***\", etc), validation errors (\"***validationError***\"), resource failure errors (\"***paymentFailure***\", \"***refundFailure***\", \"***withdrawalFailure***\", etc), and more general errors (\"***apiError***\", \"***resourceNotFound***\"). \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Detail Code\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"HTTP Code\",\n    \"h-3\": \"Error Type\",\n    \"0-0\": \"apiError\",\n    \"0-1\": \"The request failed due to an API error\",\n    \"1-0\": \"insufficientResourceAccess\",\n    \"1-1\": \"You do not have access to the resource.\",\n    \"2-0\": \"insufficientFeatureAccess\",\n    \"2-1\": \"You do not have access to the feature.\",\n    \"3-0\": \"validationError\",\n    \"3-1\": \"There are requirements that have not been met.\",\n    \"4-0\": \"resourceNotFound\",\n    \"4-1\": \"The resource was not found.\",\n    \"5-0\": \"paymentFailure\",\n    \"5-1\": \"There was a problem with the payment resource.\",\n    \"6-0\": \"tokenFailure\",\n    \"6-1\": \"There was a problem with the token resource.\",\n    \"7-0\": \"refundFailure\",\n    \"7-1\": \"There was a problem with the refund resource.\",\n    \"8-0\": \"customerFailure\",\n    \"8-1\": \"There was a problem with the customer resource.\",\n    \"9-0\": \"cardFailure\",\n    \"9-1\": \"There was a problem with the card resource.\",\n    \"10-0\": \"bankFailure\",\n    \"10-1\": \"There was a problem with the bank resource.\",\n    \"11-0\": \"transferFailure\",\n    \"11-1\": \"There was a problem with the withdrawal resource.\",\n    \"12-0\": \"bankLoginFailure\",\n    \"12-1\": \"There was a problem with the bank login resource.\",\n    \"13-0\": \"invalidTestCredentials\",\n    \"13-1\": \"The test credentials used were incorrect.\",\n    \"0-2\": \"400\",\n    \"0-3\": \"apiError\",\n    \"1-3\": \"accessError\",\n    \"2-3\": \"accessError\",\n    \"3-3\": \"requestError\",\n    \"4-3\": \"requestError\",\n    \"5-3\": \"requestError\",\n    \"6-3\": \"requestError\",\n    \"7-3\": \"requestError\",\n    \"8-3\": \"requestError\",\n    \"9-3\": \"requestError\",\n    \"10-3\": \"requestError\",\n    \"11-3\": \"requestError\",\n    \"12-3\": \"requestError\",\n    \"13-3\": \"requestError\"\n  },\n  \"cols\": 2,\n  \"rows\": 14\n}\n[/block]","excerpt":"","slug":"error-detail-codes","type":"basic","title":"Error detail codes"}

Error detail codes


Error Detail Codes give a more granular description of an error. There are access errors ("***insufficientResourceAccess***", "***insufficientFeatureAccess***", etc), validation errors ("***validationError***"), resource failure errors ("***paymentFailure***", "***refundFailure***", "***withdrawalFailure***", etc), and more general errors ("***apiError***", "***resourceNotFound***"). [block:parameters] { "data": { "h-0": "Detail Code", "h-1": "Description", "h-2": "HTTP Code", "h-3": "Error Type", "0-0": "apiError", "0-1": "The request failed due to an API error", "1-0": "insufficientResourceAccess", "1-1": "You do not have access to the resource.", "2-0": "insufficientFeatureAccess", "2-1": "You do not have access to the feature.", "3-0": "validationError", "3-1": "There are requirements that have not been met.", "4-0": "resourceNotFound", "4-1": "The resource was not found.", "5-0": "paymentFailure", "5-1": "There was a problem with the payment resource.", "6-0": "tokenFailure", "6-1": "There was a problem with the token resource.", "7-0": "refundFailure", "7-1": "There was a problem with the refund resource.", "8-0": "customerFailure", "8-1": "There was a problem with the customer resource.", "9-0": "cardFailure", "9-1": "There was a problem with the card resource.", "10-0": "bankFailure", "10-1": "There was a problem with the bank resource.", "11-0": "transferFailure", "11-1": "There was a problem with the withdrawal resource.", "12-0": "bankLoginFailure", "12-1": "There was a problem with the bank login resource.", "13-0": "invalidTestCredentials", "13-1": "The test credentials used were incorrect.", "0-2": "400", "0-3": "apiError", "1-3": "accessError", "2-3": "accessError", "3-3": "requestError", "4-3": "requestError", "5-3": "requestError", "6-3": "requestError", "7-3": "requestError", "8-3": "requestError", "9-3": "requestError", "10-3": "requestError", "11-3": "requestError", "12-3": "requestError", "13-3": "requestError" }, "cols": 2, "rows": 14 } [/block]