Skip to content

When following documentation guide: TweepError: Failed to send request: Only unicode objects are escapable. Got <generator object to_unicode.<locals>.<genexpr> at 0x000001E0C87505F0> of type <class 'generator'>. #1506

Answered by Harmon758
Nowado asked this question in Questions
Discussion options

You must be logged in to vote

You're passing a generator as one or more of the credentials. They need to be strings or bytes.

For code block usage, see https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Harmon758
Comment options

You must be logged in to vote
1 reply
@Nowado
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This is a question Discussion This was converted/moved from/to a discussion
3 participants
Converted from issue

This discussion was converted from issue #1493 on January 19, 2021 18:52.