Error Page

List of errors returned by our SDK.

Configuration Errors

Configuration errors are detected by the SDK and thrown to the console due to misconfigurations in the object passed to the openForm function.

Error MessageDescriptionHow to solve
[Card Enrollment SDK]: Error parsing config
field: "getAccessToken"
message: "Is required"
getAccessToken is missing from the configurationsPlease provide a getAccessToken function.
[Card Enrollment SDK]: Error parsing config
field: "getAccessToken"
message: "Must be a function"
getAccessToken is not a functionPlease provide a getAccessToken function.
[Card Enrollment SDK]: Error parsing config
field: "subaccountId"
message: "Is required"
subaccountId is missing from the configurationsPlease provide a valid UUID v4 subaccountId.
[Card Enrollment SDK]: Error parsing config
field: "subaccountId"
message: "Must be a valid UUID v4"
subaccountId is not in valid UUID v4 formatPlease provide a valid UUID v4 subaccountId.
[Card Enrollment SDK]: Error parsing config
field: "companyName"
message: "Is required"
companyName is missing from the configurationsPlease provide a string value for companyName.
[Card Enrollment SDK]: Error parsing config
field: "companyName"
message: "Must be a string"
companyName is not of string typePlease provide a string value for companyName.
[Card Enrollment SDK]: Error parsing config
path: "terms"
message: "Unrecognized key(s) in object: 'terms'"
Unrecognized key in the config objectPlease review the config keys provided.
[Card Enrollment SDK]: Error parsing config
path: "terms.text"
message: "Expected string, received number"
terms.text is not of string typePlease provide a string value for terms.text.
[Card Enrollment SDK]: Error parsing config
path: "terms.termsUrl"
message: "Invalid url"
terms.termsUrl is not a valid URLPlease provide a valid URL for terms.termsUrl.
[Card Enrollment SDK]: Error parsing config
path: "terms.termsUrl"
message: "Expected string, received number"
terms.termsUrl is not a valid URLPlease provide a valid URL for terms.termsUrl.
[Card Enrollment SDK]: Error parsing config
path: "terms.privacyUrl"
message: "Invalid url"
terms.privacyUrl is not a valid URLPlease provide a valid URL for terms.privacyUrl.
[Card Enrollment SDK]: Error parsing config
path: "terms.privacyUrl"
message: "Expected string, received number"
terms.privacyUrl is not a valid URLPlease provide a valid URL for terms.privacyUrl.
[Card Enrollment SDK]: Error parsing config
path: "container"
message: "Input not instance of HTMLElement"
container is not a valid HTMLElementPlease provide a valid HTMLElement for cointaner.

Enrollment Errors

These errors are sent to the onError callback if it is defined by the customer. Errors can be of Client or Server type and will have the following error format:

Example Payload (Server Error):

{
  "type": "server",
  "error": {
    "detail": "Card verification step with id=d397da41-95ac-4bb0-82da-cd78d10d06ff for card verification with id=ed146b4a-8e48-4c7f-b284-62eb64dca7bb can not be completed at this state",
    "title": "Bad Request"
  }
}

Example Payload (Client Error):

{
  "type": "client",
  "error": {
    "detail": "The provided token is not a valid JWT token."
  }
}

Server Errors

Error TypeError TitleError DetailDescriptionHow to solve
ServerUnauthorizedAuthentication credentials were either missing or incorrect.The credentials used are either invalid or not present.Please check the getAccessToken function specified in the configuration. If it is correctly configured, please contact support.
ServerForbiddenYou do not have the necessary permission to access the requested resource.The credentials used are valid but do not have sufficient permission to access the resource.Please check the getAccessToken function specified in the configuration. If it is correctly configured, please contact support.
ServerNot FoundSubaccount with the given ID was not found.The specified subaccount was not found.Please check the subaccount specified in the SDK configuration.
ServerInternal Server ErrorUnknown error occurred.The account service is unable to process the request.Please wait a few moments and retry. if the problem persists, please contact support.
ServerBad RequestRequest object failed validationThe card details entered did not pass the validation.Check the card details and try again.
ServerForbiddenSubaccount has insufficient configurations to allow this actionThe enrolled card was issued in a country not supported by the subaccount.You can either revisit the subaccount configuration or change the subaccount.
ServerForbiddenMissing scope 'card-subscriptions:write'The credentials used does not have the required 'card-subscriptions:write' scope.Please use an access token with the required scopes.
ServerForbiddenMissing scope 'card-subscriptions:read'The credentials used does not have the required 'card-subscriptions:read' scope.Please use an access token with the required scopes.
ServerInternal Server ErrorAn unexpected error happened while creating a card subscriptionThe card subscription service is unable to process the request.Please wait a few moments and retry. if the problem persists, please contact support.
ServerBad RequestUnsupported card network provider {network}The enrolled card network is not supported. Only Visa and MasterCard networks are supported.Please try to enroll a different card.
ServerInternal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the requestThe card verification service is unable to process the request.Please wait a few moments and retry. if the problem persists, please contact support.
ServerForbiddenCredentials used do not have permission to perform the requestThe credentials used does not have the required card-verifications scope.Please use an access token with the required scopes.
ServerNot FoundCard verification step with id=fingerprint for card verification with id={verificationId} not foundThe card verification fingerprint step was not found.Please wait a few moments and retry. if the problem persists, please contact support.
ServerNot FoundCard verification step with id=challenge for card verification with id={verificationId} not foundThe card verification challenge step was not found.Please wait a few moments and retry. if the problem persists, please contact support.
ServerNot FoundCard verification with id={verificationId} not foundThe card verification was not found.Please wait a few moments and retry. if the problem persists, please contact support.
ServerBad RequestInvalid card providedThe provided card does not have a subscription that requiries verification.Please wait a few moments and retry. if the problem persists, please contact support.
ServerBad RequestInvalid card details providedThe provided card is not eligible for verification.Please try with a new card. if the problem persists, please contact support.
ServerBad RequestCard verification step with id=fingerprint for card verification with id={verificationId} not in in-progress state anymoreThe card verification fingerprint step is not in progress state.Retry the enrollment process. If it continues failing, please wait for 1 hour for the current verification to expire, then retry the process again.
ServerBad RequestCard verification step with id=challenge for card verification with id={verificationId} not in in-progress state anymoreThe card verification challenge step is not in progress state.Retry the enrollment process. If it continues failing, please wait for 1 hour for the current verification to expire, then retry the process again.
ServerBad RequestCard verification step with id=challenge for card verification with id={verificationId} can not be completed at this stateCard network provider considered authentication as not completed.Wait for 1 hour for the current verification to expire, then retry the process again.
ServerUnprocessable EntityCard should be network-bulk enrolled by the IssuerCard is network-bulk eligible and can't be enrolled via the single enrollment flow.Card should be enrolled via the network bulk enrollment flow.

Client Errors

Error TypeError TitleError DetailDescriptionHow to solve
Client-Invalid access token: Access token is malformed. Expected to be a Json Web Token.getAccessToken function configured returns an invalid token.Update the function method to return a valid JWT token.
Client-Invalid access token: The provided token is not a valid JWT token.getAccessToken function configured returns an invalid token (not a JWT).Update the function method to return a valid JWT token that follows the JWT standard.
Client-Timeout while waiting for token. Ensure that getAccessToken is returning a valid token within the allowed time window (5s).getAccessToken function configured takes longer than 5 seconds to return a JWT.Update the function method to return a JWT in a shorter time.
Client-Error getting a valid IPMay occur when obtaining the customer's IP address to perform fingerprinting.Check if any browser extension or VPN is running.
Client-Verification state is 'failed'. Cannot proceed with 3DS verification.3DS card verification failed.Retry the enrollment process. If it continues failing, wait for 1 hour for the current verification to expire, then retry the process again.
Client-There is already an ongoing verification for this card, but it failed to return.Failed to fetch current card verification.Wait for 1 hour for the current verification to expire, then retry the process again.
Client-Verification type expected to be 3DS.Retry the enrollment process. If it continues failing, wait for 1 hour for the current verification to expire, then retry the process again.
Client-An error occurred while verifying the card.Some unexpected error occurred during the enrollment.Wait for 1 hour for the current verification to expire, then retry the process again.
Client-Unexpected challenge state '{state}'.Some unexpected error occurred during the challenge step.Wait for 1 hour for the current verification to expire, then retry the process again.
Client-Unexpected fingerprint state 'state'. This state is expected to be 'completed', or the outcome to be 'requires-challenge'.Some unexpected error occurred during the fingerprinting step.Wait for 1 hour for the current verification to expire, then retry the process again.

Account Status Inquiry (ASI) Error:

If you receive the following error, this indicates that the card verification process has failed due to an Account Status Inquiry (ASI) check.

{
  "title": "Bad Request",  
  "detail": "The card provided did not pass the Issuer's Account Status Inquiry (ASI)"  
}

Understanding the ASI Error

The Account Status Inquiry (ASI) is a verification process used to check the status and validity of a card. When this check fails, it means the card issuer has declined to authorize the card based on the current status of the account.

In instances of ASI failures Astrada is unable to assist in successfully enrolling the card. The cardholder should seek support from their issuer to understand why the ASI check has failed.

Here are the potential reasons why a card verification can fail the Account Status Inquiry (ASI):

Card-related:

  • Card not activated: A new card that hasn't been activated by the cardholder.
  • Invalid PAN: The provided card number is incorrect or does not exist.
  • Incorrect CVV/CVC: The provided security code doesn't match the one on file.
  • Expired card: The card's expiration date is incorrect.
  • Restricted card: The card has usage restrictions that prevent the verification transaction.
  • International restrictions: The card may not be authorized for use in certain countries or regions, or process cross border transactions.
  • Online transaction restrictions: The card may not be authorized to process online transactions.
  • Lost or stolen card: The card has been flagged as lost or stolen.
  • Daily limit exceeded: The card has reached its daily transaction limit.

Account-related:

  • Closed account: The card account has been closed by the issuer or cardholder.
  • Insufficient funds: The account lacks the necessary funds for the verification transaction.
  • Frozen account: The account has been temporarily frozen due to suspicious activity or other reasons.
  • Fraud alerts: Active fraud alerts on the account may trigger a failure.
  • Incorrect Issuer country: A mismatch in the provided address information.

Issuer-related:

  • Technical issues: Problems with the issuer's or processor's systems can cause verification failures.
  • Issuer decline: The card issuer declines the verification for undisclosed reasons.