Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2020-03-09 00:31:47,344 (util.py:66 WorkerThread1) ERROR - TeleBot: "ApiException occurred, args=('A request to the Telegram API was unsuccessful. The server returned HTTP 400 Bad Request. Response body:\n[b\'{"ok":false,"error_code":400,"description":"Bad Request: wrong file identifier/HTTP URL specified"}\']',)
- Traceback (most recent call last):
- File "/home/pi/.local/lib/python3.7/site-packages/telebot/util.py", line 60, in run
- task(*args, **kwargs)
- File "FRIKIdelBOT.py", line 969, in crear_post
- bot.send_photo(chat_id=message.chat.id, photo=url_imagen_producto, caption=texto_mensaje, parse_mode='HTML')
- File "/home/pi/.local/lib/python3.7/site-packages/telebot/__init__.py", line 639, in send_photo
- parse_mode, disable_notification))
- File "/home/pi/.local/lib/python3.7/site-packages/telebot/apihelper.py", line 276, in send_photo
- return _make_request(token, method_url, params=payload, files=files, method='post')
- File "/home/pi/.local/lib/python3.7/site-packages/telebot/apihelper.py", line 60, in _make_request
- return _check_result(method_name, result)['result']
- File "/home/pi/.local/lib/python3.7/site-packages/telebot/apihelper.py", line 79, in _check_result
- raise ApiException(msg, method_name, result)
- telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 400 Bad Request. Response body:
- [b'{"ok":false,"error_code":400,"description":"Bad Request: wrong file identifier/HTTP URL specified"}']
- "
- 2020-03-09 00:31:47,345 (__init__.py:420 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 400 Bad Request. Response body:
- [b'{"ok":false,"error_code":400,"description":"Bad Request: wrong file identifier/HTTP URL specified"}']"
Advertisement
Add Comment
Please, Sign In to add comment