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

More than 500 chars in attempted Matodon post #420

Open
sentry-io bot opened this issue Nov 27, 2023 · 0 comments
Open

More than 500 chars in attempted Matodon post #420

sentry-io bot opened this issue Nov 27, 2023 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 27, 2023

Perhaps some kind of difference in what we consider characters vs what Mastodon does?


Sentry Issue: BIGCASES2-2M

MastodonAPIError: ('Mastodon API returned error', 422, 'Unprocessable Entity', 'Validation failed: Text character limit of 500 exceeded')
(6 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/masto.py", line 107, in add_status
    api_response = self.api.status_post(message, media_ids=media_ids)
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

0 participants