Widget Errors

Every error the Aerosync widget reports through onError.

Error Handling

The Aerosync platform surfaces errors from two sources: the widget (client-side, via the onError callback) and the API (server-side, via HTTP status codes and a structured error body). This page covers widget errors.


Widget Errors

When an error occurs inside the Aerosync widget, the onError callback fires with a plain string payload. The same string is delivered to every SDK — Web, React Native, iOS, Android, and Flutter.

Payload format

Type: ERROR_TYPE | Code: CODE | Message: MESSAGE

Examples:

Type: INCORRECT_CREDENTIALS | Code: AC-117 | Message: Sorry, we encountered an issue while linking your account. Please ensure your account and routing numbers are correct.

Type: POLLING_TIMEOUT | Code: AR-100 | Message: No response received from the user within the expected time frame. Please try again later.

Type is the machine-readable classification, Code is the AR- or AC- identifier from the table below, and Message is the copy already shown to the user inside the widget.

Make sure onError is always defined in your widget configuration so these events are captured and logged:

onError: (event) => {
  console.error('Aerosync widget error:', event)
  // log or forward to your monitoring — no UI changes needed
}

Important behavioural notes

onError is a logging hook, not an instruction to act.

  • Do not close the widget when onError fires. The widget owns the recovery path. Closing it cancels a session the user could still complete.
  • Do not display the error on your own UI. The widget already renders the error screen, the copy in Message, and the appropriate retry, manual-entry, or exit action. Showing your own error on top of it duplicates or contradicts what the user is looking at.
  • onError is not a terminal event. Most errors are recoverable — the user can retry in the widget and still reach onSuccess. Never treat a single onError as a failed session.
  • Multiple events per session are normal. Retries, repeated MFA attempts, and multi-account linking each emit their own event.
  • onError is not a substitute for onClose. If the user abandons the flow from an error screen, you receive onClose, not another onError.

Use these events for logging, monitoring, and funnel analytics. When contacting [email protected], include the Code and the timestamp.

Error codes

AR codes are raised by the widget itself. AC codes originate from the Aerosync backend and are mapped by the widget to a user-facing error screen.

CodeTypeMessageWhen it fires
AR-100POLLING_TIMEOUTNo response received from the user within the expected time frame. Please try again later.The widget waited for a user action (MFA approval, OAuth return) and gave up.
AR-404MISSING_ATTRIBUTESRequired attributes are missing. Please ensure all necessary fields are added.The widget was launched without required parameters, or the encrypted state could not be read. Check your launch configuration.
AR-500SERVER_ERRORA server error occurred. Please try again later.Fallback for a non-2xx API response that carries no AC code. When the backend does return a code and message, those replace these.
AR-600MFA_SESSION_ERRORSomething went wrong during the MFA session. Please try again later.The MFA provider failed to issue a session token.
AR-601NO_MFA_REQUIREDMFA is not required for this user. Please try again later.The widget entered the additional-MFA workflow but the institution presented no challenge.
AC-108INCORRECT_MFAThe multi-factor authentication (MFA) answer could not be verified. Either the answer that you entered is not valid or you're not using a supported MFA device. Please retry and submit the correct multi-factor authentication (MFA) answer.The MFA answer was rejected, or the user's MFA device is unsupported.
AC-116INVALID_ATTEMPTSYou have made too many invalid attempts, you can try again in 24 hours. Ensure your account and routing number are correct. Validate name inputs match the names on your bank statement.Too many failed manual-entry attempts. A 24-hour cooldown applies.
AC-117INCORRECT_CREDENTIALSSorry, we encountered an issue while linking your account. Please ensure your account and routing numbers are correct.Manual account entry failed validation.
AC-119INCOMPLETE_DATAYour selected financial institution didn't provide enough account details required for verification. These issues are typically intermittent and often clear up within a few days. Please select a different financial institution to continue.The institution returned insufficient account data.
AC-120SESSION_ERRORFor security reasons, inactive or interrupted sessions are automatically closed. Don't worry, you can still connect your bank! To continue, please exit and relaunch Aerosync.The widget session expired or was interrupted. A relaunch is required.
AC-121INSTITUTION_MAINTENANCEYour selected financial institution is currently undergoing maintenance to provide secure connections and accurate banking data. While this is uncommon, it may take many days to resolve.The institution is under maintenance.
AC-122NO_CHECKING_ACCOUNTIt looks like you didn't select a checking account. At this time only checking accounts are accepted for payments. Please retry and select the proper account.The user selected a non-checking account where only checking is accepted.
AC-123NO_CHECKING_ACCOUNTNo checking account information available. Please select a checking account or try again with a different bank.The institution returned no checking account.
AC-127INCORRECT_CREDENTIALSInvalid bank login credentials provided. We were unable to authenticate with your bank. Please try again.Bank login credentials were rejected.
AC-128INCORRECT_CREDENTIALSFor your security, repeated failed login attempts will result in a temporary lock from Aerosync. Please verify your username and password with your financial institution's website and try again.Repeated credential failures; the user is approaching a lock.
AC-129INCORRECT_CREDENTIALSWe couldn't complete your authentication request. For your security, please visit your financial institution's website to reset your password. You can try linking a bank with Aerosync again after 24 hours.Authentication could not be completed. A password reset at the institution is required.
AC-130ACCOUNT_LOCKEDFor your security, access has been temporarily locked due to multiple failed authentication attempts. You can try again 24 hours after your most recent failed attempt.Temporary lock after repeated failed authentication.
AC-131ACCOUNT_LOCKEDFor your security, access has been locked due to multiple failed authentication attempts. Please contact [email protected] to request security review and unblock.Lock requiring manual review by Aeropay support.
AC-133INVALID_STATEWe're sorry, something went wrong. Please close the widget and try again in a few minutes.Auth state validation failed.
AC-141INCOMPLETE_DATAYour bank requires all data sharing options to be enabled to complete the connection. Please review the consent page and select all checkboxes.The user granted partial consent at an institution that requires all scopes.
AC-148INSTITUTION_ERRORWe're experiencing a temporary issue connecting to one or more services. Please try again in a few minutes.A transient upstream service issue.
AC-152INCORRECT_CREDENTIALSWe were unable to verify this account information. Please double-check your account and routing numbers and try again.Manual account verification failed.
AC-153INCORRECT_CREDENTIALSThe name on the account doesn't match the information provided. Please verify that you've entered your name exactly as it appears on your bank account.Name mismatch against the account holder on record.
AC-154INCORRECT_CREDENTIALSWe couldn't verify this account. Please check that your account and routing numbers are correct.The account could not be verified.
AC-155INSTITUTION_ERRORWe couldn't find an account that matches the bank you previously linked. Please try linking your bank again.No account matched the previously linked institution.
AC-200INSTITUTION_ERRORWe're sorry, something went wrong. Please try again.Generic institution-side error.
AC-300INSTITUTION_CONNECTIONWe had issues connecting to this banking institution. Please select a different bank or try again later.Aerosync could not reach the institution.
AC-500INTERNAL_SERVER_ERRORWe're sorry, something went wrong. Please close the widget and try again in a few minutes.Unclassified backend failure. The most common catch-all code.
AC-504INTERNAL_SERVER_ERRORThe financial institution took too long to respond. These issues are generally intermittent and resolve quickly. Please search for another bank or try logging in again.The institution timed out.
AC-600BANK_NOT_SUPPORTEDUnfortunately this bank is not eligible for linking to your account. Please select a different bank.The institution is not eligible for linking.
AC-1001INCOMPLETE_BANK_LINKIt looks like the bank account linking process was not fully completed. Please try again to complete linking your account.Linking started but never completed.
AC-1002INCOMPLETE_BANK_LINKWe sent an identifcation request to your device, but we didn't get your approval in time. Please retry and submit the multi-factor authentication (MFA) code.The user did not approve the MFA request in time.
AC-1003INCORRECT_CREDENTIALSThe multi-factor authentication (MFA) answer could not be verified. Either the answer that you entered is not valid or you're not using a supported MFA device. Please retry and submit the correct multi-factor authentication (MFA) answer.The MFA answer was rejected by the institution.



Did this page help you?