{"__v":9,"_id":"5734bc5cf48d550e00537ee6","category":{"__v":0,"_id":"57348e79a210200e005f99e2","project":"573243608b55962900f063c0","version":"573243608b55962900f063c1","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-12T14:08:57.364Z","from_sync":false,"order":8,"slug":"error-codes","title":"API Error Codes"},"parentDoc":null,"project":"573243608b55962900f063c0","user":"57335cb1a6a9c40e00e139e2","version":{"__v":9,"_id":"573243608b55962900f063c1","project":"573243608b55962900f063c0","createdAt":"2016-04-19T15:51:35.494Z","releaseDate":"2016-04-19T15:51:35.494Z","categories":["573243608b55962900f063c3","573243608b55962900f063c2","573255b9ee92510e00087821","573255c0384fc70e0050ea42","573255ce9ef0fa0e0083f0d4","57334604b90dba1900b3d90c","5733474f45fc0c0e00c154da","57348e6e6a42521700a246fb","57348e79a210200e005f99e2","5734efd57e13fd17002f1129","5746204e04f2410e00a5a2e4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-12T17:24:44.681Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"In this section you can find a list of the errors that can be returned by our methods.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Process\",\n    \"h-1\": \"Error\",\n    \"h-2\": \"Description\",\n    \"h-3\": \"Severity\",\n    \"0-0\": \"0\",\n    \"1-0\": \"0\",\n    \"2-0\": \"0\",\n    \"3-0\": \"10\",\n    \"0-1\": \"0\",\n    \"1-1\": \"1\",\n    \"2-1\": \"2\",\n    \"0-2\": \"No errors\",\n    \"1-2\": \"Invalid credentials\",\n    \"2-2\": \"Error in the Signature\",\n    \"0-3\": \"0\",\n    \"1-3\": \"1\",\n    \"2-3\": \"1\",\n    \"3-3\": \"1\",\n    \"3-1\": \"1000\",\n    \"3-2\": \"Error in the Service Communication test\",\n    \"4-0\": \"100\",\n    \"4-1\": \"10001\",\n    \"4-2\": \"Error reserved\",\n    \"4-3\": \"1\",\n    \"5-0\": \"100\",\n    \"6-0\": \"100\",\n    \"7-0\": \"100\",\n    \"8-0\": \"100\",\n    \"9-0\": \"100\",\n    \"5-1\": \"10003\",\n    \"6-1\": \"100102\",\n    \"7-1\": \"100103\",\n    \"8-1\": \"100104\",\n    \"9-1\": \"100105\",\n    \"5-2\": \"Generic error in the operation\",\n    \"6-2\": \"Error 100102 (Currency code not allowed)\",\n    \"7-2\": \"Error 100103 (Error in the currency code)\",\n    \"8-2\": \"Error 100104 (Error in the number of digits)\",\n    \"9-2\": \"Error 100105 (The amount must be different than zero)\",\n    \"5-3\": \"1\",\n    \"6-3\": \"1\",\n    \"7-3\": \"1\",\n    \"8-3\": \"1\",\n    \"9-3\": \"1\",\n    \"10-0\": \"0\",\n    \"11-0\": \"0\",\n    \"12-0\": \"100\",\n    \"13-0\": \"104\",\n    \"10-1\": \"100106\",\n    \"11-1\": \"100107\",\n    \"12-1\": \"10009\",\n    \"13-1\": \"10400\",\n    \"10-2\": \"Invalid channel\",\n    \"11-2\": \"Error in the email format\",\n    \"12-2\": \"Error in the currency code of the buyer\",\n    \"13-2\": \"Error in the service GetNewOperationActivity\",\n    \"10-3\": \"1\",\n    \"11-3\": \"1\",\n    \"12-3\": \"1\",\n    \"13-3\": \"1\",\n    \"14-0\": \"104\",\n    \"15-0\": \"104\",\n    \"16-0\": \"104\",\n    \"17-0\": \"104\",\n    \"14-1\": \"10401\",\n    \"15-1\": \"10402\",\n    \"16-1\": \"10403\",\n    \"17-1\": \"10404\",\n    \"14-2\": \"Service not allowed\",\n    \"15-2\": \"Error in the service ConfirmNewOperationActivity\",\n    \"16-2\": \"Message Format not recognize\",\n    \"17-2\": \"Error in NewOperationActivity\",\n    \"14-3\": \"1\",\n    \"15-3\": \"1\",\n    \"16-3\": \"1\",\n    \"17-3\": \"1\",\n    \"18-0\": \"201\",\n    \"19-0\": \"201\",\n    \"20-0\": \"201\",\n    \"21-0\": \"201\",\n    \"22-0\": \"201\",\n    \"23-0\": \"201\",\n    \"24-0\": \"201\",\n    \"25-0\": \"201\",\n    \"26-0\": \"201\",\n    \"18-1\": \"20100\",\n    \"19-1\": \"20101\",\n    \"20-1\": \"20102\",\n    \"21-1\": \"20103\",\n    \"22-1\": \"20104\",\n    \"23-1\": \"20105\",\n    \"24-1\": \"20106\",\n    \"25-1\": \"20107\",\n    \"26-1\": \"20108\",\n    \"18-2\": \"Generic in RequestRefund\",\n    \"19-2\": \"Transactions don’t exist\",\n    \"20-2\": \"Error in SalesOperationID, TransactionID or the amount\",\n    \"21-2\": \"Refund Amount not allowed\",\n    \"22-2\": \"Original Transaction date out of range\",\n    \"23-2\": \"Invalid reason\",\n    \"24-2\": \"Total or Partial field invalid\",\n    \"25-2\": \"The transaction was not paid\",\n    \"26-2\": \"Error en AmountToRefund\",\n    \"18-3\": \"1\",\n    \"19-3\": \"1\",\n    \"20-3\": \"1\",\n    \"21-3\": \"1\",\n    \"22-3\": \"1\",\n    \"23-3\": \"1\",\n    \"24-3\": \"1\",\n    \"25-3\": \"1\",\n    \"26-3\": \"1\",\n    \"27-0\": \"102/104\",\n    \"28-0\": \"100\",\n    \"29-0\": \"120\",\n    \"27-1\": \"12002\",\n    \"28-1\": \"12003\",\n    \"29-1\": \"12004\",\n    \"27-2\": \"The transaction is already paid, cannot be voided\",\n    \"28-2\": \"The transaction is expired, cannot be voided\",\n    \"29-2\": \"The transaction is already voided\",\n    \"27-3\": \"1\",\n    \"28-3\": \"1\",\n    \"29-3\": \"1\",\n    \"30-0\": \"0\",\n    \"31-0\": \"0\",\n    \"32-0\": \"0\",\n    \"33-0\": \"0\",\n    \"34-0\": \"0\",\n    \"35-0\": \"0\",\n    \"36-0\": \"0\",\n    \"30-1\": \"12005\",\n    \"31-1\": \"12006\",\n    \"32-1\": \"12008\",\n    \"33-1\": \"12009\",\n    \"34-1\": \"12010\",\n    \"35-1\": \"12011\",\n    \"36-1\": \"12012\",\n    \"30-2\": \"An unhandled error ocurred in Transaction Generator Service- VoidTransaction Operation\",\n    \"31-2\": \"The Identifier doesn't found any valid transactions\",\n    \"32-2\": \"This identifier type is not allowed for void Transactions\",\n    \"33-2\": \"The Transaction Identifier must be specified\",\n    \"34-2\": \"The criteria to identify the Transaction (IdentifierType) must be specified (1 or 2)\",\n    \"35-2\": \"The AccountID must be specified\",\n    \"36-2\": \"The Merchant doesn't exist\",\n    \"30-3\": \"1\",\n    \"31-3\": \"1\",\n    \"32-3\": \"1\",\n    \"33-3\": \"1\",\n    \"34-3\": \"1\",\n    \"35-3\": \"1\",\n    \"36-3\": \"1\"\n  },\n  \"cols\": 4,\n  \"rows\": 37\n}\n[/block]","excerpt":"The SaftyPay API can return multiple errors for any operation.","slug":"error-codes","type":"basic","title":"API Error and Warning Codes"}

API Error and Warning Codes

The SaftyPay API can return multiple errors for any operation.

In this section you can find a list of the errors that can be returned by our methods. [block:parameters] { "data": { "h-0": "Process", "h-1": "Error", "h-2": "Description", "h-3": "Severity", "0-0": "0", "1-0": "0", "2-0": "0", "3-0": "10", "0-1": "0", "1-1": "1", "2-1": "2", "0-2": "No errors", "1-2": "Invalid credentials", "2-2": "Error in the Signature", "0-3": "0", "1-3": "1", "2-3": "1", "3-3": "1", "3-1": "1000", "3-2": "Error in the Service Communication test", "4-0": "100", "4-1": "10001", "4-2": "Error reserved", "4-3": "1", "5-0": "100", "6-0": "100", "7-0": "100", "8-0": "100", "9-0": "100", "5-1": "10003", "6-1": "100102", "7-1": "100103", "8-1": "100104", "9-1": "100105", "5-2": "Generic error in the operation", "6-2": "Error 100102 (Currency code not allowed)", "7-2": "Error 100103 (Error in the currency code)", "8-2": "Error 100104 (Error in the number of digits)", "9-2": "Error 100105 (The amount must be different than zero)", "5-3": "1", "6-3": "1", "7-3": "1", "8-3": "1", "9-3": "1", "10-0": "0", "11-0": "0", "12-0": "100", "13-0": "104", "10-1": "100106", "11-1": "100107", "12-1": "10009", "13-1": "10400", "10-2": "Invalid channel", "11-2": "Error in the email format", "12-2": "Error in the currency code of the buyer", "13-2": "Error in the service GetNewOperationActivity", "10-3": "1", "11-3": "1", "12-3": "1", "13-3": "1", "14-0": "104", "15-0": "104", "16-0": "104", "17-0": "104", "14-1": "10401", "15-1": "10402", "16-1": "10403", "17-1": "10404", "14-2": "Service not allowed", "15-2": "Error in the service ConfirmNewOperationActivity", "16-2": "Message Format not recognize", "17-2": "Error in NewOperationActivity", "14-3": "1", "15-3": "1", "16-3": "1", "17-3": "1", "18-0": "201", "19-0": "201", "20-0": "201", "21-0": "201", "22-0": "201", "23-0": "201", "24-0": "201", "25-0": "201", "26-0": "201", "18-1": "20100", "19-1": "20101", "20-1": "20102", "21-1": "20103", "22-1": "20104", "23-1": "20105", "24-1": "20106", "25-1": "20107", "26-1": "20108", "18-2": "Generic in RequestRefund", "19-2": "Transactions don’t exist", "20-2": "Error in SalesOperationID, TransactionID or the amount", "21-2": "Refund Amount not allowed", "22-2": "Original Transaction date out of range", "23-2": "Invalid reason", "24-2": "Total or Partial field invalid", "25-2": "The transaction was not paid", "26-2": "Error en AmountToRefund", "18-3": "1", "19-3": "1", "20-3": "1", "21-3": "1", "22-3": "1", "23-3": "1", "24-3": "1", "25-3": "1", "26-3": "1", "27-0": "102/104", "28-0": "100", "29-0": "120", "27-1": "12002", "28-1": "12003", "29-1": "12004", "27-2": "The transaction is already paid, cannot be voided", "28-2": "The transaction is expired, cannot be voided", "29-2": "The transaction is already voided", "27-3": "1", "28-3": "1", "29-3": "1", "30-0": "0", "31-0": "0", "32-0": "0", "33-0": "0", "34-0": "0", "35-0": "0", "36-0": "0", "30-1": "12005", "31-1": "12006", "32-1": "12008", "33-1": "12009", "34-1": "12010", "35-1": "12011", "36-1": "12012", "30-2": "An unhandled error ocurred in Transaction Generator Service- VoidTransaction Operation", "31-2": "The Identifier doesn't found any valid transactions", "32-2": "This identifier type is not allowed for void Transactions", "33-2": "The Transaction Identifier must be specified", "34-2": "The criteria to identify the Transaction (IdentifierType) must be specified (1 or 2)", "35-2": "The AccountID must be specified", "36-2": "The Merchant doesn't exist", "30-3": "1", "31-3": "1", "32-3": "1", "33-3": "1", "34-3": "1", "35-3": "1", "36-3": "1" }, "cols": 4, "rows": 37 } [/block]