-
Notifications
You must be signed in to change notification settings - Fork 85
Description
I had an error where my RSA private key was not being loaded. In api_client.py:679, I would expect an ArgumentException to be raised. However, due to the way the exception is raised, I am getting a TypeError exception pointing to api_exception.py:56 instead. (Note that there are other scenarios that raise exceptions that will similarly cause problems.)
Traceback (most recent call last):
...
File "/usr/local/lib/python3.8/dist-packages/docusign_esign/client/api_client.py", line 679, in request_jwt_user_token
raise ArgumentException("Private key not supplied or is invalid!")
File "/usr/local/lib/python3.8/dist-packages/docusign_esign/client/api_exception.py", line 56, in init
super(Exception).init(*args, **kwargs)
TypeError: super() argument 1 must be type, not str"