Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing values in com.braintree.ValidationErrorCode enum #102

Open
kmichalak opened this issue Nov 23, 2021 · 4 comments
Open

Missing values in com.braintree.ValidationErrorCode enum #102

kmichalak opened this issue Nov 23, 2021 · 4 comments
Labels

Comments

@kmichalak
Copy link

General information

  • SDK/Library version: 3.12.0
  • Environment: Production and Sandbox
  • Language, language version, and OS: Java all versions on all OSs

Issue description

I checked documentation at https://developer.paypal.com/braintree/docs/reference/general/validation-errors/all and compared it to the list of enum values provided by class com.braintree.ValidationErrorCode. A lot of error codes are missing (over 300). In a result it's a bit hard to handle some error responses from Brainrtee gateway and react to them.
I understand that some of them are marked as deprecated and might disappear, but they probably should be removed after gateway will stop returning them. Also some error codes are returned and not included in the enum at all.
Also I'm pretty aware that some codes are not mentioned in documentation or code, but gateway still returns some of them, like for exmaple

<code>915197</code> <attribute type="symbol">three_d_secure_authentication_id</attribute> <message>Transaction payment method does not match payment method used when the 3D Secure authentication was performed.</message>
but I'm not able to figure out if these is just an experimental error code or is something that was missed in docs.

Should the SDK code be aligned in this area with what documentation says, or some values are skipped on purpose? I'll be happy to help with updating the enum if that's a "missing feature" :)

Full list of missing (documented) codes and their descriptions can be found below

Code Text Description
815141 iDEAL payment is not complete An iDEAL payment needs to enter a 'COMPLETE' state before creating a transaction. This error still exists in the gateway but is no longer returned. It will be removed from the docs once the error has been removed from gateway.
815142 iDEAL payment is already consumed Deprecated in favor of 91564 – Cannot use a payment_method_nonce more than once. This error still exists in the gateway but is no longer returned. It will be removed from the docs once the error has been removed from gateway.
82650 An unexpected error occurred trying to save the merchant account; support has been notified and is looking into the issue. You may safely retry this request An unexpected error occurred trying to save the merchant account; Support has been notified and is looking into the issue. You may safely retry this request.
82687 Individual params provided in an invalid format. You must provide the attributes for Individual in the correct format.
82688 Business params provided in an invalid format. You must provide the attributes for Business in the correct format.
82689 Business locality is invalid. The provided business address is not valid.
82690 Individual locality is invalid. The provided individual address is not valid.
82691 Applicant locality is invalid. The provided applicant address is not valid.
82692 Birthdate invalid; applicant must be 13 or older Applicant must be 13 or older.
83527 International issued Apple Pay cards not supported. International issued Apple Pay cards not supported.
84271 Failed to authenticate, please try a different form of payment. Failed to authenticate, please try a different form of payment.
91502 Order ID is required when the payment_method_nonce is an iDEAL payment. A transaction for an iDEAL payment must have an order ID. This error still exists in the gateway but is no longer returned. It will be removed from the docs once the error has been removed from gateway.
915100 Shared Customer ID is invalid. Shared Customer ID is invalid.
915105 Merchant account does not support Amex rewards. Merchant account does not support Amex rewards.
915106 Points amount is too large. Amex Pay with Points amount is too large.
915109 PayPal supplementary data fields must be less than 4001 characters in length: PayPal supplementary data fields must be less than 4001 characters in length.
915110 Cannot clone facilitated transactions. Cannot clone facilitated transactions.
915111 PayPal supplementary data field count must be less than 101. PayPal supplementary data field count must be less than 101.
915112 Shared payment method token originated from another merchant and is not allowed to be shared Shared payment method token originated from another merchant and is not allowed to be shared.
915119 The version of 3D Secure authentication must be composed only of digits and separated by periods (e.g. 1.0.2). The version of 3D Secure authentication must be composed only of digits and separated by periods (e.g. 1.0.2).
915134 submit_for_settlement is required and must be true. The payment method for this transaction does not support authorization with delayed settlement. Funds must be submitted for settlement upon creation.
915135 shared_payment_method_nonce does not contain valid payment instrument type. shared_payment_method_nonce does not contain valid payment instrument type.
915136 Payment instrument type is not accepted by this merchant. Payment instrument type is not accepted by this merchant.
915143 Merchant account must match the iDEAL payment merchant account. A transaction for an iDEAL payment must have a merchant account matching the iDEAL payment. This error still exists in the gateway but is no longer returned. It will be removed from the docs once the error has been removed from gateway.
915144 Amount must match the iDEAL payment amount. A transaction for an iDEAL payment must have an amount matching the iDEAL payment. This error still exists in the gateway but is no longer returned. It will be removed from the docs once the error has been removed from gateway.
915145 Line items not allowed for this transaction. The target transaction does not support line items.
915147 Vaulted cards from this payment method can only be used for recurring transactions. This payment method only allows recurring transactions from vaulted cards. All other transactions are not allowed with vaulted cards.
915148 Transaction can not be voided if status of a PayPal partial settlement child transaction is settlement_pending. Transaction can not be voided if status of a PayPal partial settlement child transaction is settlement_pending.
915149 Too many concurrent attempts to refund this transaction. Try again later. Too many concurrent attempts to refund this transaction. Try again later.
915150 iDEAL payments cannot be vaulted. iDEAL payments cannot be vaulted. This error still exists in the gateway but is no longer returned. It will be removed from the docs once the error has been removed from gateway.
915151 Too many concurrent attempts to void this transaction. Try again later. Too many concurrent attempts to void this transaction. Try again later.
915152 request_id is required in a rewards payment request. request_id is required in a rewards payment request.
915153 points is required in a rewards payments required. points is required in a rewards payments required.
915154 currency_amount is required in a rewards payments required. currency_amount is required in a rewards payments required.
915155 currency_iso_code is required in a rewards payments required. currency_iso_code is required in a rewards payments required.
915156 Third party vault status must be either vaulted or will_vault. The vault status indicator passed with the transaction must be vaulted or will_vault.
915168 Device session id must be less than 256 characters. The device session id provided is too long. It must be less than 256 characters.
915169 Merchant account does not support 3D Secure. The transacting merchant account must be configured to support 3D Secure. Either specify a merchant account that has 3D Secure enabled, or contact us.
915170 Venmo Profile ID does not exist. The Venmo Profile associated with the profile_id does not exist.
915173 PayPal payee ID is not permitted for an un-vaulted PayPal nonce. Use payee email for un-vaulted PayPal nonces.
915174 PayPal payee ID is not permitted for a PayPal Order payment method. Use payee email for PayPal Order payment methods.
915175 Status must be either vaulted or will_vault. See externalVault().status() description for more information on the status.
915181 Shared payment method nonce originated from another merchant and is not allowed to be shared Shared payment method nonce originated from another merchant and is not allowed to be shared.
915183 Cannot void a transaction that has already been captured. PayPal has already captured funds for this transaction, so it can't be voided in the Braintree gateway.
915189 Merchant account must match the merchant account used to create the payment. Merchant account provided in the Transaction: Sale call must match the merchant account used to create the payment by the client.
915190 Fake payment method nonce cannot be used in production. Test nonces can only be used in the sandbox.
915191 Settlement failed with a soft processor decline. The processor failed to capture funds for this transaction, but the authorization is still open. You may safely retry this request.
915192 Local payment transaction has already been processed. Local payment transaction has already been processed for the parameters provided in the Transaction: Sale call.
915205 The three_d_secure_authentication_id was already used and cannot be processed more than once. The three_d_secure_authentication_id was already used and cannot be processed more than once.
915207 Refund limit exceeded. Please try using an alternate payment method. The refund could not be completed successfully and the number of refund attempts has exceeded the limit. Please try using an alternate payment method.
915208 The installment amounts are invalid. The amount charged per installment is not supported in this region.
915209 The specified number of installments are not supported in this region. This transaction cannot be processed with the specified number of installments.
915210 Installments are not supported in this region. Installment data is currently not accepted in this region.
915211 Installments may not be processed on debit cards in this region. Installments are only supported on cards with a credit account in this region.
915212 EMV data is invalid. The EMV data is in an invalid format.
915215 Cannot create offline decline without EMV payment method. Transaction can only be created as an offline decline if it has an EMV payment method.
915216 Cannot update EMV data unless the transaction is an EMV transaction and status is authorized. EMV data can only be updated for an EMV transaction with an authorized status.
915217 Cannot submit EMV contact transaction for settlement without a transaction certificate. For an EMV contact transaction the application cryptogram must be the transaction certificate.
915223 Offline decline transactions not supported by merchant account. Offline decline transactions not supported by merchant account.
915224 Payment initiated at is an invalid format. Payment initiated at must be in the ISO 8601 format (e.g. YYYY-MM-DDTHH:MM:SSZ)."
915225 Cashback amount cannot be negative. Cashback amount cannot be negative.
915226 Cashback amount is an invalid format. Cashback amount is an invalid format.
915227 Cashback amount is not allowed for this payment instrument. Cashback amount is not allowed for this payment instrument.
915228 Cashback amount is too large. Cashback amount is too large.
91533 Non-instant local payments refunds are not supported. You cannot refund a non-instant local payment transaction.
91586 Shared billing address ID cannot be used in the same call as a standard billing address ID Shared billing address ID cannot be used in the same call as a standard billing address ID.
91587 Shared customer ID cannot be used in the same call as a standard customer ID Shared customer ID cannot be used in the same call as a standard customer ID.
91588 Shared payment method token cannot be used in the same call as a standard payment method token Shared payment method token cannot be used in the same call as a standard payment method token.
91589 Shared payment method token cannot be used in the same call as a non-shared identifier param Shared payment method token cannot be used in the same call as a non-shared identifier param.
91590 Shared identifier param cannot be used with non-shared payment method token Shared identifier param cannot be used with non-shared payment method token.
91591 Shared shipping address ID cannot be used in the same call as a standard shipping address ID Shared shipping address ID cannot be used in the same call as a standard shipping address ID.
91592 Shared payment methods cannot be vaulted Shared payment methods cannot be vaulted.
91593 Shared payment methods cannot be vaulted Shared payment methods cannot be vaulted.
91594 Shared shipping addresses cannot be vaulted Shared shipping addresses cannot be vaulted.
91595 Shared payment methods cannot be updated Shared payment methods cannot be updated.
91596 Shared payment method token is invalid. Shared payment method token is invalid.
91597 Cannot provide both shared_payment_method_token and shared_customer_id unless the payment_method belongs to the customer. Cannot provide both shared_payment_method_token and shared_customer_id unless the payment_method belongs to the customer.
91598 Payment instrument type is not accepted by this merchant account. Payment instrument type is not accepted by this merchant account.
91599 Shared Shipping address customer does not match customer in request. Shared Shipping address customer does not match customer in request.
915996 Required attribute is missing The missing attribute is provided in the error message.
915997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
915998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
915999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
915996 Required attribute is missing The missing attribute is provided in the error message.
915997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
915998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
915999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
91610 Customer ID is invalid (use only letters, numbers, '-', and '_'). Valid characters are letters, numbers, dashes, and underscores.
91618 Customer attribute must be a map of keys and values representing a customer. Customer must be a well-formed object, not a string or integer.
91619 Ambiguous usage of default payment method token. Cannot set defaultPaymentMethodToken() and creditCard().options().makeDefault() in the same customer update request.
91620 PayPal custom field must be less than 256 characters in length. Maximum 255 characters.
91621 PayPal description must be less than 256 characters in length. Maximum 255 characters.
91622 Order ID must be less than 256 characters in length. Maximum 255 characters.
91623 Amount format is invalid. Amount must be formatted like '10' or '10.00'.
916996 Required attribute is missing The missing attribute is provided in the error message.
916997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
916998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
916999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
91756 Customer ID cannot be updated. Customer ID cannot be updated.
91759 Magstripe details for a credit card must contain at least one of track 1 or track 2 data. Magstripe details for a credit card must contain at least one of track 1 or track 2 data.
91761 EMV Data is invalid. EMV Data is invalid.
917996 Required attribute is missing The missing attribute is provided in the error message.
917997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
917998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
917999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
918996 Required attribute is missing The missing attribute is provided in the error message.
918997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
918998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
918999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
91931 Too many concurrent attempts to update this subscription. Try again later. Too many concurrent attempts to update this subscription. Try again later.
91932 3D Secure enriched payment method nonce did not authenticate successfully. The operation against the subscription failed because the 3D Secure enriched payment method nonce has a failed status.
919996 Required attribute is missing The missing attribute is provided in the error message.
919997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
919998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
919999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
92006 Amount is invalid for currency. Amount must be in a valid format for the currency.
920996 Required attribute is missing The missing attribute is provided in the error message.
920997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
920998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
920999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
922996 Required attribute is missing The missing attribute is provided in the error message.
922997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
922998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
922999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
923996 Required attribute is missing The missing attribute is provided in the error message.
923997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
923998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
923999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
926996 Required attribute is missing The missing attribute is provided in the error message.
926997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
926998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
926999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
928996 Required attribute is missing The missing attribute is provided in the error message.
928997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
928998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
928999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
92916 Error executing PayPal order. There was an error while executing the PayPal order.
92917 Error executing PayPal billing agreement. There was an error while executing the PayPal billing agreement.
92918 Merchant setup must be completed before vaulting PayPal payment methods. The merchant account used is not fully set up; PayPal payment methods cannot be vaulted until setup is completed.
92919 This merchant account does not allow PayPal payments using the old Vault flow. Your account does not have the old Vault flow enabled for PayPal payments. Contact us to enable the old Vault flow.
92920 Using a payment method nonce for PayPal intent=order is not permitted. Create a payment method from the nonce and then use the payment method token in the transaction sale request.
92921 Unable to retrieve billing agreement details from PayPal. There was an error while attempting to retrieve the details of the billing agreement.
92922 A PayPal Billing Agreement ID is required. Your request must include a Billing Agreement ID.
92923 The merchant account ID is not valid. When included in the request, the merchant account ID must identify an existing merchant account.
92924 An indirect merchant PayPal payer ID is required if and only if the specified merchant account is configured as an indirect merchant conduit. You would already have a merchant account configured as an indirect merchant conduit to require the use of this field.
92925 Payment method token is required. A payment method token is required for a financing option request.
92926 Amount is required. An amount is required for a financing option request.
92927 Currency code is required. A currency code is required for a financing option request.
92928 A two-letter country code is required. A two-letter country code is required for a financing option request.
92929 The vaulted payment method is missing a PayPal Billing Agreement ID. A PayPal Billing Agreement ID is required for the financing option Billing Agreement flow.
92930 Unable to retrieve financing options from PayPal. There was an issue retrieving the financing options from PayPal.
929996 Required attribute is missing The missing attribute is provided in the error message.
929997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
929998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
929999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
93113 PayPal custom field must be less than 256 characters in length. Maximum 255 characters.
93114 PayPal description must be less than 256 characters in length. Maximum 255 characters.
93115 Order ID must be less than 256 characters in length. Maximum 255 characters.
93116 Amount format is invalid. Amount must be formatted like '10' or '10.00'.
93118 PayPal refresh token is invalid. PayPal has reported this refresh token is invalid.
93119 Nonce is not a valid parameter when PayPal refresh token is provided. Nonce is not a valid parameter when PayPal refresh token is provided.
93120 PayPal merchant account required to vault refresh token. A PayPal merchant account required to vault a refresh token. Enable PayPal in a new or existing merchant account and retry.
93122 US bank account is not accepted by merchant account. A merchant account must support US bank accounts before a US bank account payment method can be created.
93125 Cannot update Custom Action name of a saved payment method. The Custom Action name cannot be modified.
931996 Required attribute is missing The missing attribute is provided in the error message.
931997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
931998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
931999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
934996 Required attribute is missing The missing attribute is provided in the error message.
934997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
934998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
934999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
93523 Domain name is required. You must specify a domain name.
93524 An error occurred when validating your domain with Apple. An error occurred when validating your domain with Apple. Please try again.
93525 Domain verification with Apple failed. Please verify the file is available at the verification path and try again. Domain verification with Apple failed. Please verify the file is available at the verification path and try again.
93526 There was an issue contacting Apple, please try again later. There was an issue contacting Apple, please try again later.
935996 Required attribute is missing The missing attribute is provided in the error message.
935997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
935998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
935999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
938996 Required attribute is missing The missing attribute is provided in the error message.
938997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
938998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
938999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
942117 ThreeDSecureVersion is required. ThreeDSecureVersion is required.
942131 Merchant account does not support 3D Secure verifications for card type. Merchant account does not support 3D Secure verifications for card type.
942200 The three_d_secure_authentication_id was already used and cannot be processed more than once. The three_d_secure_authentication_id was already used and cannot be processed more than once.
942201 Verification for international issued payment method with 3D Secure and debit account type for amount greater than zero not supported. Verification for international issued payment method with 3D Secure and debit account type for amount greater than zero not supported.
942996 Required attribute is missing The missing attribute is provided in the error message.
942997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
942998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
942999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
94501 Payment method nonce not found We cannot find the original nonce you are attempting to upgrade for 3D Secure.
94502 Nonce is already consumed This nonce was previously consumed and cannot be used to upgrade 3D Secure.
94503 Cannot 3D Secure a non-credit card payment instrument 3D Secure is not applicable because the transaction was created with an alternative payment method.
94504 Unsupported card type 3D Secure was attempted using a card brand that is not supported by your merchant account.
94505 Amount can be any number of digits optionally followed by a decimal point . and up to two decimal places following the decimal point. Commas , are not allowed. The amount you specified must be a number greater than 0.
94506 Amount too large The amount exceeds the processor's transaction limit.
94507 Nonce is already 3D Secure Nonce is already 3D Secure.
94508 An unexpected error occurred Unexpected failure during Cardinal API operation.
94509 Could not locate 3D Secure verification Cannot find a 3D Secure verification matching the ID passed to the server.
94510 Could not locate payment method nonce An invalid payment method nonce was sent.
945100 Recurring end format is invalid. Must be a date in format 20190131.
945101 Recurring frequency format is invalid. Must be a number. Maximum 3 characters.
945102 Add card attempts format is invalid. Must be a number. Maximum 3 characters.
945103 One of the additional info fields sent is invalid. Check the field-level docs in the latest client SDK references for correct field names. For field-level requirements, see the latest Android, iOS, or JavaScript reference docs for the SDK version you're using.
945104 The additional info sent is invalid. Check the field-level docs in the latest client SDK references for format requirements. For field-level requirements, see the latest Android, iOS, or JavaScript reference docs for the SDK version you're using.
945105 The customer information sent is invalid. Check the field-level docs in the latest client SDK references for format requirements. For field-level requirements, see the latest Android, iOS, or JavaScript reference docs for the SDK version you're using.
945106 The region cannot be provided without a corresponding country code. A country code is necessary to disambiguate the provided region name.
945107 Requesting a challenge and requesting an exemption are mutually exclusive options. You cannot request a challenge and an exemption on the same request.
945108 3D Secure is invalid 3D Secure is invalid
945100 Recurring end format is invalid. Must be a date in format 20190131.
945101 Recurring frequency format is invalid. Must be a number. Maximum 3 characters.
945102 Add card attempts format is invalid. Must be a number. Maximum 3 characters.
945103 One of the additional info fields sent is invalid. Check the field-level docs in the latest client SDK references for correct field names. For field-level requirements, see the latest Android, iOS, or JavaScript reference docs for the SDK version you're using.
945104 The additional info sent is invalid. Check the field-level docs in the latest client SDK references for format requirements. For field-level requirements, see the latest Android, iOS, or JavaScript reference docs for the SDK version you're using.
945105 The customer information sent is invalid. Check the field-level docs in the latest client SDK references for format requirements. For field-level requirements, see the latest Android, iOS, or JavaScript reference docs for the SDK version you're using.
945106 The region cannot be provided without a corresponding country code. A country code is necessary to disambiguate the provided region name.
945107 Requesting a challenge and requesting an exemption are mutually exclusive options. You cannot request a challenge and an exemption on the same request.
945108 3D Secure is invalid 3D Secure is invalid
94511 Payment method nonce has not been upgraded to a 3D Secure nonce Payment method nonce has not been upgraded to a 3D Secure nonce.
94512 Cardinal response missing required field: cavv Cardinal response missing required field: cavv
94513 Cardinal response missing required field: xid Cardinal response missing required field: xid
94514 Cardinal response missing required field: eci_flag Cardinal response missing required field: eci_flag
94515 Merchant account not 3D Secure enabled Merchant account is not 3D Secure enabled.
94516 Billing address first name is too long. Deprecated. Maximum 50 characters.
94517 Billing address last name is too long. Deprecated. Maximum 50 characters.
94518 Billing address line one is too long. Deprecated. Maximum 50 characters.
94519 Billing address line two is too long. Deprecated. Maximum 50 characters.
94520 Billing address city is too long. Deprecated. Maximum 50 characters.
94521 Customer email format is invalid. Deprecated. Customer email format is invalid.
94522 Customer email is too long. Deprecated. Maximum 254 characters.
94523 Customer mobile phone number format is invalid. Deprecated. Phone must be 2 - 20 characters and can only contain numbers.
94524 Billing phone number format is invalid. Deprecated. Phone must be 2 - 20 characters and can only contain numbers.
94525 Customer shipping method code is invalid. Deprecated. Valid customer shipping method codes include '01', '02', '03', '04', '05', and '06'.
94526 Billing Alpha2 country code is not accepted. Deprecated. Must be valid two-letter country code and formatted as 'xx'.
94527 Billing postal code format is invalid. Deprecated. Billing postal code format is invalid.
94528 Billing state code is invalid. Deprecated. Billing code must be two alphabetical characters.
94529 Billing given name format is invalid. Must be a string. ASCII printable characters only. Maximum 50 characters.
94530 Billing surname format is invalid. Must be a string. ASCII printable characters only. Maximum 50 characters.
94531 Billing line1 format is invalid. Must be a string. Maximum 50 characters.
94532 Billing line2 format is invalid. Must be a string. Maximum 50 characters.
94533 The authenticate result JWT signature did not verify. There was an error when decoding the JSON Web Token (JWT). Either the signature did not verify, or an invalid JWT was passed.
94534 Billing line3 format is invalid. Must be a string. Maximum 50 characters.
94535 Billing city format is invalid. Must be a string. Maximum 50 characters.
94536 Billing state format is invalid. Must be a string. Maximum 50 characters.
94537 Billing postal code format is invalid. Must be a string. Maximum 10 characters.
94538 Billing country code format is invalid. Must be a valid two-letter country code.
94539 Billing phone number format is invalid. Must be a number. Maximum 20 characters.
94540 Work phone number format is invalid. Must be a number. Maximum 25 characters.
94541 Mobile phone number format is invalid. Must be a number. Maximum 25 characters.
94542 Email format is invalid. Must be a string. Maximum 255 characters.
94543 Shipping method format is invalid. Possible values: 01, 02, 03, 04, 05, 06.
94544 Shipping line1 format is invalid. Must be a string. Maximum 50 characters.
94545 Shipping line2 format is invalid. Must be a string. Maximum 50 characters.
94546 Shipping line3 format is invalid. Must be a string. Maximum 50 characters.
94547 Shipping state format is invalid. Must be a string. Maximum 50 characters.
94548 Shipping city format is invalid. Must be a string. Maximum 50 characters.
94549 Shipping country code format is invalid. Must be a valid two-letter country code.
94550 Shipping postal code format is invalid. Must be a string. Maximum 10 characters.
94551 Shipping method indicator format is invalid. Possible values: 01, 02, 03, 04, 05, 06, 07.
94552 Authentication indicator format is invalid. Possible values: 01, 02, 03, 04, 05, 06.
94553 Product code format is invalid. Possible values: AIR, GEN, DIG, SVC, RES, TRA, DSP, REN, GAS, LUX, ACC, TBD.
94554 Delivery timeframe format is invalid. Possible values: 01, 02, 03, 04.
94555 Delivery email format is invalid. Must be a string. Maximum 254 characters.
94556 Reorder indicator format is invalid. Possible values: 01, 02.
94557 Preorder indicator format is invalid. Possible values: 01, 02.
94558 Preorder date format is invalid. Must be a date in format 20190131.
94559 Gift card amount format is invalid. Must be a number. Maximum 15 characters.
94560 Gift card currency code format is invalid. Must be a valid currency code.
94561 Gift card count format is invalid. Must be a number. Maximum 2 characters.
94562 Account age indicator format is invalid. Possible values: 01, 02, 03, 04, 05.
94563 Account create date format is invalid. Must be a date in format 20190131.
94564 Account change indicator format is invalid. Possible values: 01, 02, 03, 04.
94565 Account change date format is invalid. Must be a date in format 20190131.
94566 Account pwd change indicator format is invalid. Possible values: 01, 02, 03, 04, 05.
94567 Account pwd change date format is invalid. Must be a date in format 20190131.
94568 Shipping address usage indicator format is invalid. Possible values: 01, 02, 03, 04.
94569 Shipping address usage date format is invalid. Must be a date in format 20190131.
94570 Transaction count day format is invalid. Must be a number. Maximum 3 characters.
94571 Transaction count year format is invalid. Must be a number. Maximum 3 characters.
94572 Account purchases format is invalid. Must be a number. Maximum 4 characters.
94573 Fraud activity format is invalid. Possible values: 01, 02.
94574 Shipping name indicator format is invalid. Possible values: 01, 02.
94575 Payment account indicator format is invalid. Possible values: 01, 02, 03, 04, 05.
94576 Payment account age format is invalid. Must be a date in format 20190131.
94578 ACS window size format is invalid. Possible values: 01, 02, 03, 04, 05.
94579 SDK max timeout format is invalid. Must be a number. Maximum 2 characters.
94581 Address match format is invalid. Possible values: Y, N.
94582 Account ID format is invalid. Must be a string. Maximum 64 characters.
94584 IP address format is invalid. Must be a string. Maximum 50 characters.
94586 Order description format is invalid. Must be a string. Maximum 256 characters.
94587 Shipping given name format is invalid. Must be a string. Maximum 50 characters.
94588 Shipping surname format is invalid. Must be a string. Maximum 50 characters.
94589 Shipping phone format is invalid. Must be a number. Maximum 20 characters.
94590 Tax amount format is invalid. Must be a number. Maximum 20 characters.
94591 Override payment method format is invalid. Possible values: NA, CR, DB, VSAVR, VSAVA.
94592 User agent format is invalid. Must be a string. Maximum 500 characters.
94598 Installment format is invalid. Must be a number. Maximum 3 characters.
94599 Purchase date format is invalid. Must be a date in format YYYYMMDDHHMMSS.
945996 Required attribute is missing The missing attribute is provided in the error message.
945997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
945998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
945999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
945996 Required attribute is missing The missing attribute is provided in the error message.
945997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
945998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
945999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
947996 Required attribute is missing The missing attribute is provided in the error message.
947997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
947998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
947999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
95604 Failed to submit for settlement for an amount different than the authorized amount too many times. Please submit for the authorized amount. Deprecated. By submitting an amount other than the authorized amount, an adjustment needed to be performed on the transaction. This adjustment has resulted in too many failures. Please try again later or submit for the authorized amount.
95607 Failed to adjust authorization for amount submitted. The authorization adjustment failed. The adjustment resulted in a hard decline and should not be retried.
95608 Failed to adjust authorization for amount submitted. Please try again at a later time. The authorization adjustment failed. The adjustment resulted in a soft decline and can be retried.
956996 Required attribute is missing The missing attribute is provided in the error message.
956997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
956998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
956999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
95716 This file already has been used on the dispute This file has already been used as evidence on this dispute.
95717 Submitting proof of delivery requires a valid AVS match Submitting proof of delivery requires that the disputed transaction has a valid AVS postal code match (M); see AVS and CVV Response Codes for more details.
95727 Prior undisputed transaction responses require one or more optional evidence categories You must provide at least one optional type of evidence when responding with a PRIOR_NON_DISPUTED_TRANSACTION_ID (or PRIOR_NON_DISPUTED_TRANSACTION_ARN) and PRIOR_NON_DISPUTED_TRANSACTION_DATE_TIME; see Evidence Requirements in the Disputes guide for more details.
957996 Required attribute is missing The missing attribute is provided in the error message.
957997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
957998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
957999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
958996 Required attribute is missing The missing attribute is provided in the error message.
958997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
958998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
958999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
961996 Required attribute is missing The missing attribute is provided in the error message.
961997 Attribute is not in the required format The attribute and the expected format are provided in the error message.
961998 Attribute is not in the list of expected values The attribute and the expected values are provided in the error message.
961999 Attribute is the wrong type The attribute and the expected types are provided in the error message.
@hollabaq86
Copy link
Contributor

👋 @kmichalak apologies for the delay in a reply, and thanks so much for this issue and for your thorough notes 😻

Should the SDK code be aligned in this area with what documentation says, or some values are skipped on purpose?

Our reference docs should be considered the source of truth. This definitely sounds like we have some auditing and process cleanup to do on our side so that new validation errors are getting added to the SDKs. Thanks again for bringing this to our attention. I don't have an ETA on when this will be rectified, but now that we're aware it will eventually be resolved.

@hollabaq86
Copy link
Contributor

I can say that some of these validation errors should only be returned on the client and would not be returned from a server side call in the Java SDK. This leads me to think we may want to make that distinction more clear in our docs... Taking this to our docs team for thoughts, too.

@hollabaq86
Copy link
Contributor

for internal tracking, ticket 1974

@kmichalak
Copy link
Author

Hi @hollabaq86
It's been a while since the last update. Did anything happen in thsi area? One of the greatest misteries for me is the validation error code 915197 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants