#Cannot create Dwolla Customer

25 messages · Page 1 of 1 (latest)

whole dust
#

I am following the banking application video by jsm. Implemented till Plaid and Dwolla.

But whenever I try to sign-up I get this error - Creating a Dwolla Customer Failed.

Can anybody help me sort this out?

slate quiver
#

Could you log the context you are passing into the create method so we can see what the state is resolving to?

whole dust
slate quiver
slate quiver
#

So this should be the relevant code:

const dwollaCustomerUrl = await createDwollaCustomer({
    ...userData,
    type: 'personal'
});

Could you add console.log(JSON.stringify(userData)) on the line right above this?

slate quiver
#

Ah, maybe this is the issue.

#

US is not a valid US state. It does not appear you can use India states from what I can tell

whole dust
#

Okay let me try

#

Okay so the state error is gone but now I am getting an error on date of birth

#

Creating a Dwolla Customer Failed: Error: {"code":"ValidationError","message":"Validation error(s) present. See embedded errors list for more details.","_embedded":{"errors":[{"code":"NotAllowed","message":"DateOfBirth value not allowed.","path":"/dateOfBirth","_links":{}},{"code":"InvalidFormat","message":"PostalCode invalid.","path":"/postalCode","_links":{}},{"code":"Required","message":"Ssn required.","path":"/ssn","_links":{}}]}}

#

1900-01-01 this is how I am entering it

slate quiver
#

Looks like you are missing the ssn not dob

#

Oh sorry two errors

whole dust
#

I solved the DOB error ... it's just not accepting 1900-01-01 as a valid date

slate quiver
#

Yeah it has to be max 125 years old

whole dust
#

tried with 2002 it worked

slate quiver
#

Definitely reference this doc, it explains all the reqs

whole dust
#

Okay thanks, I'll follow this and fix this.. Let me get back to you

whole dust