Closed davidmarinangeli closed 6 years ago
Thanks for posting. I will run through the sample at some point. It could possible be broken as it has been awhile since I've used it. As for the 'final_response' missing - that is a warning and is a known issue. Plan is to fix that with the V2 update. It will work with the warning.
The problem
Hi Patrick, I know you will hate me for all these issues 😛 but I'm experiencing other problems with your sample.
In fact, if I say "list" or "basic card" it doesn't catch the appropriate intent. Furthermore, ANY response tested on Google Assistant simulator gives me error and tells me
'final_response' must be set.
The problems is obviously extended also on my projects: in fact none of the samples copied and paste on my code don't work on Google Assistant simulator.
Some debugging
I've tried to write down manually the same structure of JSON for the response and here is what i found:
Manually built response through Google Assistant tab on Dialogflow
and below you can see response coming from webhook:
As you can see, in the fulfillment object is really different for the "messages" and "data" object: what's happening?