diff --git a/src/libs/actions/BankAccounts.js b/src/libs/actions/BankAccounts.js index 42923487edc..4779cbbfbe0 100644 --- a/src/libs/actions/BankAccounts.js +++ b/src/libs/actions/BankAccounts.js @@ -643,6 +643,9 @@ function setupWithdrawalAccount(data) { : CONST.BANK_ACCOUNT.SETUP_TYPE.MANUAL; } + // Convert the errorAttemptsCount to an object to prevent it from being wiped out by JSON.stringify + newACHData.errorAttemptsCount = {...newACHData.errorAttemptsCount}; + nextStep = newACHData.currentStep; // If we are setting up a Plaid account replace the accountNumber with the unmasked number