500 Error While Creating Funding Source + Plaid Integration

Hi there.

I’m having issues when calling the customers/{id}/funding-sources endpoint to create a funding source for a customer. Unfortunately, I’ve received only 500 errors in response.

For example, please see x-request-id: 42360b99-bcec-4e49-b614-94204743e830.

I’m trying to utilize the Dwolla/Plaid link to establish a link between a customer in the sandbox environment, by exchanging the Plaid processor_token returned on successful Link request, and passing that value, along with the Dwolla customerId, to this endpoint: customers/{id}/exchanges.

This appears to be consistent with the documentation in the Dwolla developer docs here.

Calling the above returns a url in the headers location field that looks something like this:
https://api-sandbox.dwolla.com/exchanges/d2a41bc4-398c-#####

This part of the implementation seems to be successful…but, when I try to use this value to create a funding source (see step four from the above documentation), I get the aforementioned 500 error.

Is there something I am missing here? I’ve read and re-read the docs but can’t seem to get over this hurdle. Any support would be much appreciated.

Thanks!

Hi @EmilioRosenthal,

Looking into our logs, this is the error we got from Plaid whenever we attempted to exchange the plaid processor token: “INVALID_INPUT,ADDITIONAL_CONSENT_REQUIRED, client does not have user consent to access the PRODUCT_AUTH product”.

When you’re using the Plaid Link flow, it appears that “auth” isn’t included as a requested product when you get Plaid’s Link token like so:

"products": ["auth"]

Here are the Plaid docs for reference.

Hope this helps! Please try this out and let us know if this fixes it or if you run into any other issues!

Hi, @shreya.

This is very helpful. Let me look back into the Plaid Link initialization and ensure it is correctly initialized with auth in the products array.

Thanks again!

Sounds good. Let us know!