Better Error Handling for Missing Variables in Python Client
I just solved an issue with my python code using
docusign-esign-python-client, 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.