Answer the question
In order to leave comments, you need to log in
Python telegram bot how to fix Bad Request: URL_INVALID error?
Hello everyone, I have a code written in python using the pytelegrambotapi library
bot.answer_callback_query(callback_query_id=message.id,text="Нажмите на ссылку",show_alert=True,url='https://www.eurosoft.uz')
(__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: URL_INVALID"}']"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question