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: 'media_id' while posting images to twitter #423

Open
sentry-io bot opened this issue Nov 30, 2023 · 1 comment
Open

KeyError: 'media_id' while posting images to twitter #423

sentry-io bot opened this issue Nov 30, 2023 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 30, 2023

Sentry Issue: BIGCASES2-2R

KeyError: 'media_id'
(2 additional frame(s) were not displayed)
...
  File "bc/subscription/tasks.py", line 379, in make_post_for_webhook_event
    api_post_id = api.add_status(message, image, files)
  File "bc/channel/utils/connectors/twitter.py", line 78, in add_status
    media_id = self.upload_media(
  File "bc/channel/utils/connectors/twitter.py", line 37, in upload_media
    media_id = media_response.json()["media_id"]
@mlissner
Copy link
Member

This looks like it might have been a twitter outage or us going over our access limit?

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