Hi @Hiten_Ahirrao – that’s actually expected behavior. Plaid Sandbox only returns two bank accounts - one of type savings and one checking with preset Routing and Account numbers. If a checking account is already added, adding another checking account will return a DuplicateResource error from Dwolla because the Routing/Account numbers are recognized as duplicates for that Customer. You can test adding banks to Dwolla Sandbox by removing a funding-source, and attaching another one again.
Hope that helps! Let me know if you have any questions!
Hi @Hiten_Ahirrao – would you be able to share an example funding-source ID which gets returned in the error response? That will help me look into it further to see what’s causing the error.
I tried looking up the funding-source from the first post - 98563d3f-9924-40c0-8867-3f872d4d56551 - and couldn’t find it in our logs for some reason.
Hi @Hiten_Ahirrao – I’m seeing that the above mentioned two Customers already have two banks attached. There’s a few removed banks as well, but there are already two active bank account. That’s why you’re receiving the DuplicateResource error when trying to attach a third bank, which has the same Account and Routing number as one of the already attached ones. With Plaid, even if you select a different Bank’s checking account, it will have the same AC // RN as the checking account of a different Bank. In short, there’s only two unique Bank accounts you can attach using Plaid, one of type savings and one of type checking.
Hi @shreya, one question - I hope in production, we will not have this issue? I mean we can add multiple checking and savings account using plaid in production right?
When Plaid Link is used with the username (prefixed with custom_) that was specified when creating the custom user, and any non-empty string is used as the password, it will send Dwolla the AN/RN specified in the JSON above.