I'm getting error in this code

hey @dishita_jain ,
THere is some problem in the url you have made in app.route()
Kindly check that.

If you still get stucked , then kindly share link to your code file. So that is can debug it.

Thank You and Happy Learning :slightly_smiling_face:.


okay , will just check it and let you know.

in your code bot2.py
you have this bot.set_webhook(" /http://4bd4dc98d7cc.ngrok.io"+TOKEN)

As you can see the url start incrrectly. and also add a slash/ after ngrok.io
So just correct this , i guess it would work.


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.