Unable to create a document for a customer

We are trying to upload a document for the customer as mentioned in the API docs. We are using dwolla v2 python to implement this.

below is the sample request body which we are trying:

document = app_token.post('%s/documents' % customer_url, file = open('mclovin.jpg', 'rb'), documentType = 'license')

But whenever we send the POST request we are getting exception.

Please let us know if there is any update around this.

There was some mistake from my side. Its working properly.

Hi @Kavya_HL! Thanks for the update! Glad it’s working fine. If you come across any issues again, please feel free to let us know!