docusign-esign-python-client icon indicating copy to clipboard operation
docusign-esign-python-client copied to clipboard

Better Error Handling for Missing Variables

Open matthew-a-dunlap opened this issue 2 years ago • 1 comments

I just solved an issue with my code, where I was attempting to create a document with a SignHere field, and the field would not show up.

It turns out I pulled a signature field example from a different language which used camelCase for variables instead of snake_case.

This was extremely hard to pin down though because nothing errored. The python client happily took my SignHere() class definition. And if the API errored in any way during creation it was not presented to me.

I ended up having to call a bunch of other methods and try creating the tabs manually to eventually figure out it was a variable name issue.

Ideally the python client should error if required fields are not set.

matthew-a-dunlap avatar Dec 09 '22 21:12 matthew-a-dunlap

Hello @matthew-a-dunlap, can you please provide your feedback through this link? https://feedback.docusign.com/ This would greatly help DocuSign get to it in better time. Thank you.

AbdulrahmanGameel avatar Dec 11 '22 12:12 AbdulrahmanGameel