Skip to content

Conversation

@silkerp
Copy link

@silkerp silkerp commented Aug 30, 2018

I was getting an encoding error:
---> 27 dev_hash.update(timestamp)
TypeError: Unicode-objects must be encoded before hashing

So I added encode(utf-8) to both timestamp and api_secret which resolved the issue.

I was getting an encoding error:
---> 27         dev_hash.update(timestamp)
TypeError: Unicode-objects must be encoded before hashing

So I added encode(utf-8) to both timestamp and api_secret which resolved the issue.
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

Successfully merging this pull request may close these issues.

1 participant