We got Plaid access-sandbox-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx access_token. Using this access_token we have made following request of Dwolla ApI to create funding source in Dwolla using rest api.
_{“code”:“ValidationError”,“message”:“Validation error(s) present. See embedded errors list for more details.”,"_embedded":{“errors”:[{“code”:“Invalid”,“message”:“Token is invalid.”,“path”:"/plaidToken","links":{}}]}}
spencer
(Spencer Hunter - Lead Developer Advocate @ Dwolla)
2
Hi @Bhagyashri_Kaiche, what was the bank account type you used to connect via Plaid Link? Dwolla only supports checking and savings accounts at this time. I’ve seen this error returned when a test money market account or other account type is attempted to be connected.
Using this access_key, we have executed above request on Dwolla to create a Funding source .
But again we have got the same error.
spencer
(Spencer Hunter - Lead Developer Advocate @ Dwolla)
4
Ah, I see the issue. It looks like you are passing in an access token when Dwolla requires a processor token. I’d recommend taking a look at step 4 in this guide for more information on obtaining a processor token.
My flow is as follows:
1a. user signs up and we create a dwolla customer
1b. user logs into bank with plaid link and sends public token to server
2. I generate access token for linked account and get a processor_token eg (processor-development-SOME_UUID_HERE)
3. I use the dwolla customer link from 1a to add a funding source with a valid payload eg
but the server responds with the same error @Bhagyashri_Kaiche was receiving. Not sure if you need more info, but I’m pretty sure I followed the docs to a T.
happy to DM the exact URLs and payloads I sent if that helps.
Hi @Zach_Kauffman, it seems that you may be passing in the Plaid developer processor token. In that case, Dwolla doesn’t support that token. We only accept Plaid sandbox processor token or Plaid production processor token at this time.
Please let us know once you’ve tried usig the right token and if the issue is solved. If that’s not the case, I’d be happy to investigate your req/res.
i created the dwolla processor token using
dwolla_response = plaid_client.Processor.dwollaBankAccountTokenCreate(‘access-token’,‘account-id’)
2.got the reponse = {‘processor_token’: ‘processor-sandbox-5cef790d-71ec-435a-93fe-ad8d3879b07e’, ‘request_id’: ‘Awfs2qAEWZZegZB’}
got the response
dwollav2.error.ValidationError: {“code”:“ValidationError”,“message”:“Validation error(s) present. See embedded errors list for more details.”,"_embedded":{“errors”:[{“code”:“Invalid”,“message”:“Token is invalid.”,“path”:"/plaidToken","_links":{}}]}}
Hi @Ghanshyam, thanks for mapping out the steps you took along with all the request/response bodies!
Could the error be because the plaidToken sent to Dwolla in Step 2 may have some characters missing from the one generated in Step 1?
From Plaid - processor-sandbox-5cef790d-71ec-435a-93fe-ad8d3879b07e
Sent to Dwolla - processor-sandbox-5cef790d-71ec-435a-93-ad8d3879b07e
If that’s not the case, you may want to review Step 4 of the Plaid + Dwolla guide in Plaid’s documentation for generating a Dwolla Processor token.
I also want to note that when creating a funding-source using a plaidToken, you would only have to send the "name" and "plaidToken" fields over to Dwolla. Any other fields passed in would not be saved in the funding-source resource. Here’s an example request body -
I had this issue since morning and got in contact with the dwolla team. They claim that when they ping plaid api they are getting errors and thus are causing us to get errors. as of right now there is nothing you can do. I wrote my code in correspondence to plaid+dwolla through every guide. The code worked seamlessly for months and as I was about to release a change this error appeared.
For now you are just going to have to wait until this resolve this. through my chats with them they contacted plaid already.
Partial Correspondence with Dwolla:
{ Error: {“code”:“ValidationError”,“message”:“Validation error(s) present. See embedded errors list for more details.”,"_embedded":{“errors”:[{“code”:“Invalid”,“message”:“Token is invalid.”,“path”:"/plaidToken","_links":{}}]}}
Hi Victor, Is this error only occurring in the Sandbox environment?
12:34 pm
We currently have a message out to the Plaid team to figure out what the issue is with the token exchange endpoint in Sandbox. We are receiving an exception from their API when making requests.
spencer
(Spencer Hunter - Lead Developer Advocate @ Dwolla)
16
Hi @victorthevong, @Bernard_Worthy, and @strazi, Thank you for your patience! We were notified from the Plaid team that a fix for the Plaid token issue has been implemented. If you have any processor tokens saved from when the issue persisted, you may need to generate new ones. Please retry and let us know if you experience further issues. Apologies for the inconvenience and delays in getting this resolved!
Hi @sanketa – would you be able to share your request/response bodies for creating a Dwolla funding-source with a Plaid token? Any information about the issue you’re running into, or information that would help me look up your account on Dwolla’s side would be great too!
This issue seems to persist… Any updates on what causes the issue. Steps from the integration guide were followed to the letter. It seems to work fine for us in sandbox but not so much in production.
Can Someone please give us some clarity? Is this a Dwolla/Plaid Issue or are we doing something wrong as developers ?
In my humble opinion, this is something that should be highlighted front and center in the Dwolla documentation (i.e. its lack of true testing support with Plaid’s “development” environment). Better yet, a more informative error message (like "Plaid development tokens are not supported in production…") being returned could save developers thousands of hours (in aggregate) chasing down a solution to a problem that really doesn’t exist.
Hopefully, this helps someone else out that will likely run into this same exact problem soon enough