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

KeyError: 'id_str' when using upload_all_channel #55

Open
carnesca opened this issue Mar 24, 2018 · 2 comments
Open

KeyError: 'id_str' when using upload_all_channel #55

carnesca opened this issue Mar 24, 2018 · 2 comments

Comments

@carnesca
Copy link

Whenever trying to upload Twitter channels using upload_channel/upload_all_channel, there is always a KeyError: 'id_str'. Here is an example traceback:
screen shot 2018-03-24 at 16 32 56

@carnesca
Copy link
Author

This appears just above the traceback:

screen shot 2018-03-24 at 17 01 01

This is what I assume is the expected response from the Twitter API about the screen_name, but doesn't get any further than this (and you can also see that the 'id_str' is received):

screen shot 2018-03-24 at 17 01 43

@carnesca
Copy link
Author

After running:
print(self.project.bare_request(verb=requests.get, address_root="https://app.brandwatch.com/", address_suffix="twitterapi/users/show.json", params={"screen_name": channel["handle"]}))

I receive this response:
screen shot 2018-03-24 at 17 22 13

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

1 participant