Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected status code returned for DocuSignClient.add_envelope_recipients #96

Closed
smcoll opened this issue Oct 27, 2016 · 0 comments · Fixed by #100
Closed

unexpected status code returned for DocuSignClient.add_envelope_recipients #96

smcoll opened this issue Oct 27, 2016 · 0 comments · Fixed by #100

Comments

@smcoll
Copy link
Contributor

smcoll commented Oct 27, 2016

Apparently, an add_envelope_recipients request returns a 201 response [edit: in v2 of the API] , yet the client is expecting a 200. An exception is raised:

DocuSignException: DocuSign request failed: POST https://demo.docusign.net/restapi/v2/accounts/<account>/envelopes/<envelope>/recipients returned code 201 while expecting code 200; Message: {...}

Should we be setting expected_status_code=201 in just the post for that method, or should we set that in the post method itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant