Telegram error Bad request after running python bot.py

Traceback (most recent call last):
File “bot.py”, line 71, in
main()
File “bot.py”, line 61, in main
bot.set_webhook(“http://8c0e71b7.ngrok.io/”+ TOKEN)
File “/home/cjwarrior7/Desktop/news_bot/myvenv/lib/python3.6/site-packages/telegram/bot.py”, line 65, in decorator
result = func(self, *args, **kwargs)
File “/home/cjwarrior7/Desktop/news_bot/myvenv/lib/python3.6/site-packages/telegram/bot.py”, line 2070, in set_webhook
result = self.request.post(url, data, timeout=timeout)
File “/home/cjwarrior7/Desktop/news_bot/myvenv/lib/python3.6/site-packages/telegram/utils/request.py”, line 309, in post
headers={‘Content-Type’: ‘application/json’})
File “/home/cjwarrior7/Desktop/news_bot/myvenv/lib/python3.6/site-packages/telegram/utils/request.py”, line 223, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Bad webhook: https url must be provided for webhook

Can you please upload your code on github and share the link of that repository so I can look into it

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.