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

AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? #10

Open
tchad-rogers opened this issue Nov 6, 2023 · 1 comment

Comments

@tchad-rogers
Copy link

tchad-rogers commented Nov 6, 2023

I'm getting the following error when running api_client.request_jwt_user_token():

AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?

(docusign_admin/client/api_client.py, line 689)

Looking at docusign-esign-python-client repo, that same line had the .decode("utf-8") removed in the Version 3.16.0-v2.1-22.1.02.00 release.

Reference link to that line in docusign-admin-python-client

compared to that line in docusign-esign-python-client.

If I remove the offending .decode("utf-8") in the docusign_admin/client/api_client.py file, my code works as-expected.

I'm not clear how others are using the docusign-admin-python-client without request_jwt_user_token() throwing that error. I'm not sure if I've stumbled upon a bug, or if I'm doing something wrong.

Thanks for any help!

@kcastex
Copy link

kcastex commented Nov 10, 2023

@garg-mudit ^^

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

No branches or pull requests

2 participants