Flow error codes
Last updated: January 22, 2025
See the definitions of the error codes you may receive when integrating Flow.
Error | Description |
---|---|
| Flow was loaded in a non-browser environment. You should only load and execute Flow client-side. If your integration involves server-side rendering or automated testing, ensure the Window object exists before you load Flow. |
| The result returned in a callback execution was invalid. If you provide a custom callback, ensure it returns a result. Flow supports |
| Flow has already been mounted to DOM with If you need to mount Flow again because the checkout page changed, use the |
| The payment request was submitted with the If you're rendering a custom pay button and passed |
| The After you create the |
| The name specified when creating the If you are providing You should also ensure that the |
| The Element selector or DOM object you provided when calling the Ensure the Element selector you provide to the |
| The payment attempt for the payment method specified in Unexpected failures may occur when Flow integrates with a payment method's client-side library, or makes network requests to the payment method's endpoints. If you persistently encounter the error for a specific payment method, this could be caused by your account configuration. For example, incomplete onboarding to a payment method. Contact your Account Manager or [email protected]. |
| The payment request was declined. The payment's ID is provided in the The
Flow automatically displays error messages to the customer, with suggested next actions to improve retry success. |
| The payment request failed due to unexpected error or network issue. Any additional error codes from the network requests will be provided in the Customers can typically complete their payment after a retry. If you persistently encounter the error for a specific payment method, this could be caused by your account configuration. Contact your Account Manager or [email protected]. |
| The payment session response provided when initializing After you create a payment session in your server-side integration, ensure you return the entire payment session response object to the client-side and provide it to Flow. |