Error when upgrading customer to verified customer

If I update the information of a user, i.e. adding an SSN and dateOfBirth before changing a user to “personal verified user” I get the following error:

dwollav2.error.ValidationError:text`{“code”:“ValidationError”,“message”:“Validation error(s) present. See embedded errors list for more details.”,"_embedded":{“errors”:[{“code”:“ReadOnly”,“message”:“DateOfBirth cannot be modified.”,“path”:"/dateOfBirth","_links":{}},{“code”:“ReadOnly”,“message”:“Ssn cannot be modified.”,“path”:"/ssn","_links":{}}]}}

However after removing the SSN and dateOfBirth from the fields and simply trying to change the type of user to “personal” I get the following error:
dwollav2.error.ServerError: {“code”:“ServerError”,“message”:“A server error occurred. Error ID: 9d04e11c-ac32-472d-89c3-ba845a1c1c46.”}

This is similar to the input I use when getting the second error: {‘firstName’: ‘John’, ‘lastName’: 'Doe ', ‘email’: ‘noone@gmail.com’, ‘state’: ‘NY’, ‘postalCode’: ‘10003’, ‘city’: ‘New York’, ‘address1’: '72 Wonderland Street ', ‘type’: ‘personal’}. Although the input of {‘type’:‘personal’} is enough to get the server error.

Please advise as to how I should proceed. It seems that if I add an SSN before upgrading a customer to a verified status then I cannot verify them at a later stage.

Hi @kb3022 – is this when upgrading an Unverified Customer to a Personal Verified Customer?

If so, you’d provide all of the information required to create a Personal Verified Customer in the update request.

Here’s a step-by-step process that might help -

Step 1: Create an Unverified Customer

POST https://api.dwolla.com/customers
. . .

{
  "firstName": "Upgrade",
  "lastName": "SSN",
  "email": "ssnerror@nomail.net",
  "ipAddress": "99.99.99.99",
  "businessName": "Jane Merchant's Business"
}

. . .

HTTP/1.1 201 Created
Location: https://api.dwolla.com/customers/fc451a7a-ae30-4404-aB95-e3553fcd733f

Step 2: Upgrade to Personal Verified Customer

POST https://api.dwolla.com/customers/fc451a7a-ae30-4404-aB95-e3553fcd733f
. . .
{
  "firstName": "John",
  "lastName": "Doe",
  "email": "ssn@nomail.net",
  "ipAddress": "10.10.10.10",
  "type": "personal",
  "address1": "99-99 Correction St",
  "city": "Some City",
  "state": "NY",
  "postalCode": "11101",
  "dateOfBirth": "1970-01-01",
  "ssn": "6789"
}
. . .
HTTP/1.1 200 Ok

Hope that helps!