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

telegram.error.BadRequest: Failed to send message #4 with the error message "failed to get http url content" #20

Closed
Nachtalb opened this issue Feb 14, 2023 · 1 comment
Assignees
Labels

Comments

@Nachtalb
Copy link
Owner

Failed to send message #4 with the error message "failed to get http url content"
Traceback (most recent call last):
  File "/home/web_server/telegram/reverse_image_search_bot/reverse_image_search_bot/commands.py", line 398, in _best_match_search
    message.reply_media_group(
  File "/home/web_server/.pyenv/versions/reverse_image_search_bot/lib/python3.10/site-packages/telegram/message.py", line 998, in reply_media_group
    return self.bot.send_media_group(
  File "/home/web_server/.pyenv/versions/reverse_image_search_bot/lib/python3.10/site-packages/telegram/bot.py", line 130, in decorator
    result = func(*args, **kwargs)
  File "/home/web_server/.pyenv/versions/reverse_image_search_bot/lib/python3.10/site-packages/telegram/bot.py", line 1587, in send_media_group
    result = self._post('sendMediaGroup', data, timeout=timeout, api_kwargs=api_kwargs)
  File "/home/web_server/.pyenv/versions/reverse_image_search_bot/lib/python3.10/site-packages/telegram/bot.py", line 295, in _post
    return self.request.post(
  File "/home/web_server/.pyenv/versions/reverse_image_search_bot/lib/python3.10/site-packages/telegram/utils/request.py", line 359, in post
    result = self._request_wrapper('POST', url, fields=data, **urlopen_kwargs)
  File "/home/web_server/.pyenv/versions/reverse_image_search_bot/lib/python3.10/site-packages/telegram/utils/request.py", line 279, in _request_wrapper
    raise BadRequest(message)
telegram.error.BadRequest: Failed to send message #4 with the error message "failed to get http url content"
@Nachtalb Nachtalb added the bug label Feb 14, 2023
@Nachtalb Nachtalb self-assigned this Feb 14, 2023
@Nachtalb
Copy link
Owner Author

Not relevant anymore due to rewrite: #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant