This document lists the set of error codes you may encounter when developing with Facebook's Payments system. |
Error Code | Message | Note |
---|---|---|
1383001 | Unknown | Facebook system issue. |
1383004 | InvalidOperation | Developer attempted an operation Facebook does not allow. |
1383005 | PermissionDenied | Sorry, this app may not be eligible to complete this action. |
1383006 | DatabaseError | Facebook system issue. |
1383007 | InvalidApp | App is not enabled for payments. |
1383008 | AppNoResponse | App is not responding; perhaps a server timeout issue. |
1383009 | AppErrorResponse | App responded to Facebook with an error code. |
1383010 | UserCanceled | User cancelled out of payment flow. |
1383043 | AppInfoFetchFailure | Could not retrieve app info. |
1383044 | InvalidAppInfo | App needs to have a valid callback url. |
1383045 | AppInvalidEncodedResponse | The app didn't return a valid json encoded response. |
1383046 | AppInvalidDecodedResponse | The app return value was invalid after being run through json_decode(). |
1383047 | AppInvalidMethodResponse | The app response contains a 'method' parameter that didn't match the request. |
1383048 | AppMissingContentResponse | The app response didn't contain the 'content' field. |
1383049 | AppUnknownResponseError | The app returned an unknown response. |
1383050 | AppUserValidationFailedResponse | Failure to verify the user when sending app callback. |
1383051 | AppInvalidItemParam | The app is sending invalid item parameters (For example, price or quantity of the items is invalid). |
1383053 | FbobjFailure | Facebook failed to update or get an fbobj used for payments. |
1383068 | RateLimitExceeded | Facebook is worried about certain apps flooding the Facebook Payments system, so this error occurs if the payment did not succeed due to capacity issues. |
1383104 | InvalidPricepointId | The pricepoint ID that you have passed in is no longer valid. You can get an updated one by querying the Graph API. |
1383105 | AppInvalidApi | Apps that have already migrated to local currency cannot use the old payment API. |
1353001 | CardAlreadyDisabled | The card you are trying to pay with has been disabled. |
1353008 | CreditCardError | You have entered invalid credit card information. |
1353009 | TradeRestriction | Payment actions are restricted in a handful of countries by US law. |
1353011 | SecurityRestriction | Action blocked for security reasons. |
1353013 | UserDisabled | Our systems have detected unusual payment activity on your account. As a security precaution, the payments functionality on your account has been disabled. |
1353014 | PaypalError | Paypal related errors. |
1353026 | BAInvalidCredential | The payment method associated with your subscription is invalid. |
1353029 | BAOperationNotAllowed | Your subscription isn’t eligible for this. |
1353030 | BAAppIssue | There are issues with the app you're trying to subscribe to. Please try again later. |
1353031 | TrialNotAllowed | You are not eligible for a subscription with trial at this time. |
1353032 | SubscriptionAlreadyExists | You already have an active subscription for this app. |
1353033 | DummyCredentialExpectedFailure | This is an expected failure from a test credential. |
1353048 | PaymentCredentialDeclined | The credential used to make the payment was declined. |
-200 | Request aborted | Generic Front end error when an async request to Facebook is aborted in the browser |
The following errors can be returned in addition to the above API exceptions:
Error Code | Description | Message |
---|---|---|
1150 | Unknown Error | Sorry, but we're having trouble processing a payment on this app. The user has not been charged for this transaction and has been asked to try again. |
1151 | Invalid App | Sorry, but this app may not be eligible to accept payments. If this app has accepted payments before, please try again. |
1152 | Database Error | Sorry, but we're having trouble processing a payment on this app. The user has not been charged for this transaction and has been asked to try again. |
1153 | Permission Denied | Sorry, this app may not be eligible to complete this action. |
1154 | App Failed to Respond | The app didn't return a valid response (For example, 'method' parameter didn't match the request or response didn't contain the 'content' field). |
1155 | App Error Response | The app returned an error response. |
1157 | App Invalid Parameter | The app is sending invalid item parameters (For example, price or quantity of the items is invalid). |
1158 | Invalid Operation | User attempted an operation Facebook does not allow. |
1167 | Non Refundable Payment Method | The payment method used in this transaction does not allow refunds. |
1170 | App Info Fetch Failure | There was an API error and we could not access the required app information. Please try again. |
1171 | Invalid App Info | The app needs to have a valid callback url. |
1173 | Payments Rate Limit Exceeded | Sorry, but we’re experiencing a higher number of requests than usual. Please try again later. |
1175 | Captcha Too Recent | Sorry, you have attempted this verification too many times. Please try again later |
1176 | Payments Association Failure | There was an API error and we could not access the required app information. Please try again. |
1177 | Payments Inside iOS App | Payments cannot be used in the Facebook for iPhone or iPad apps. |
1178 | Payments Not Enabled on Mobile | This app doesn't let you make purchases from your mobile phone. |
1179 | Invalid Amount | The amount you specified is invalid. Please verify that it is a valid positive amount and has the same currency as the payment. |
1180 | Credential Invalid | The payment credential for subscription is not valid |
1181 | Subscription Not Active | Subscription is not active |
1182 | Subscription Pending Cancel | Subscription is currently pending cancellation |
1183 | Subscription Not Pending Cancel | Subscription is not pending cancellation |
1184 | Invalid Pricepoints Data | Invalid pricepoints data |
1186 | Failure to Fetch Foreign Exchange Rate | Sorry, there was an error in fetching the foreign exchange rate |
1188 | User in Restricted Country | User in country where payments is restricted |
5201 | Invalid Card Type | Invalid or unsupported card type |
5202 | Invalid CSC | Invalid credit card security code (CSC) |
5203 | Invalid expiration date | Invalid expiration date |
5204 | Invalid Number | Invalid credit card number |
5205 | Invalid name in shipping address | Invalid name in shipping address |
5206 | Invalid Street | Invalid shipping address street |
5207 | Invalid City | Invalid shipping address city |
5208 | Invalid State | Invalid shipping address state |
5209 | Invalid Zip | Invalid shipping address zip |
5210 | Invalid Country | Invalid shipping address country |
5211 | Invalid address | Invalid address |
5212 | Payment Declined | The payment was declined. The user has not been charged for this transaction |