dialogflow / dialogflow-fulfillment-nodejs

Dialogflow agent fulfillment library supporting v1&v2, 8 platforms, and text, card, image, suggestion, custom responses
Apache License 2.0
597 stars 282 forks source link

agent.end() not working in telephony #222

Open aybhalala opened 5 years ago

aybhalala commented 5 years ago

when using agent.end("my string"), the converstaion text comes out as empty in logs. When debugging through dialogflow's trial UI, I do see "triggerEndOfConversation": true in the fulfillment response with the expected string, but the response shows as not available. Using dialogflow v2, with dialogflow-fulfillment version 0.6.1

greivinlopezgl commented 5 years ago

Any time I use the agent.end function the agent crashes on Google Assistant. Does anybody else have the same issue?

JimvanKleef commented 5 years ago

I have a similar issue, I get Webhook call failed. Error: Failed to parse webhook JSON response: Cannot find field: triggerEndOfConversation in message google.cloud.dialogflow.v2.WebhookResponse when I use .end('...')

aybhalala commented 5 years ago

Can anyone look into the pull request.