So, I was using dialogflow and made a chatbot.(it has got around 20-25 intents). From which around 15 are connected to a webhook. Now the chatbot would give good and accurate responses many times. But sometimes what happens is it says,”Sorry it seemed there was an error during your request.”(Talking about iframe or the web demo part). IDK what’s wrong with it this time, since this message may even be thrown when I ask a hello!
Correspondingly If I use a rich text bot or the dialogflow messenger, here too it would work perfectly at times, but give bugs in between saying “Something went wrong please try later.”
One day the code would work perfectly and other day it is not able to recognise any of the intents
Initially, I thought it is due to the reason that my df is free, but if that was the thing, (180 requests pm are free, and I am never utilising that much big number) .
Tech Stack:
I am using ngrok and configuring a webhook with help of fast api.
Here is an attached image of the error
enter image description here
I am asking a hello at one time it is able to respond and other time it is not able to(above picture is of web demo)
enter image description here(this picture is of dialoglow messenger(
If it was due to my backend , it doesn’t give an response as shown in image 2,
Also tell me is there a way to check it that why this error is occuring.
I tried running this code on postman and it runned succesffuly.(idk but maybe it was by chance i didnt find any error when trying webhook by postman)
But when I use iframe or dialogflow rich messenger , it wil throw me these errors IDK why. I was expecting the code to run succesffuly
I even tried exporting the file to a zip and using it on other id but in vain.
Can anyone help me out with this?
user24661367 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.