SAP-archive / SAPConversationalAI

✨ 🤖 🤖 Build your own conversational bot on our Collaborative Bot Platform! 🤖🤖 ✨
https://cai.tools.sap
283 stars 68 forks source link

Sometimes valid urls with hebrew give an error of "An invalid URL has been detected:" #105

Open tiulimg opened 5 years ago

tiulimg commented 5 years ago

I'm using multi-langugage bot, in english and hebrew. Webhooks using hebrew variables used to work, but sometimes recast doesn't issue the webhook request because it treats the url as invalid, but it is valid and also works directly. Why?

tiulimg commented 5 years ago

I can't figure why and when recast would avoid sending the webhook request (even though the url is valid), but even it if so, it must give the developer an option to act upon an invalid url that had been built dynamically, and update the user that something went wrong, logging the error and debugging it later...

tiulimg commented 5 years ago

Also, I think that if (in another webhook request) I would have an invalid body, I should be able to log the body that is sent to backend in "Chat with your bot" debug log...