Dialogflow-fulfillment-nodejs: Dialogflow Not Compatible with Azure Functions

Created on 11 Dec 2018  Β·  10Comments  Β·  Source: dialogflow/dialogflow-fulfillment-nodejs

I can't get Dialogflow to read my response from my webhook. It keeps reading Chinese letters. I deployed a Webhook Fulfillment to Azure Functions. However, when Dialogflow tries to use it, it just responds with:

Webhook call failed. Error: Failed to parse webhook JSON response: Expect message object but got: "η¬€ΰ΄€ΰ¨€β€€β€€βˆ€ζ˜€η”€ζ°€ζ˜€ζ€€ζ°€ζ°€ζ΄€ζ”€ζΈ€η€ε€ζ”€η €η€βˆ€γ¨€β€€βˆ€ε¬€ε€ζ”€ηŒ€η€ε΄€β€€δ €ζ”€ζ°€ζ°€ζΌ€β€€ζ˜€ηˆ€ζΌ€ζ΄€β€€ε€€ζΌ€η”€ηŒ€ζ”€ζ˜€βΈ€βˆ€β°€ΰ΄€ΰ¨€β€€β€€βˆ€ζΌ€η”€η€η€€η”€η€δŒ€ζΌ€ζΈ€η€ζ”€η €η€ηŒ€βˆ€γ¨€β€€ε¬€ε΄€ΰ΄€ΰ¨€η΄€".

Please see the video here showing an example: https://imgur.com/yzcj0Kw.

Feature Request

Most helpful comment

In case you guys still want a solution, i found one which is working :)
https://medium.com/@yoichiro/how-to-use-actions-on-google-client-library-on-azure-functions-node-js-178d5ecd04e3

Perfectly explains the situation.

All 10 comments

I'm currently emailing dialog flow support, and they mentioned that it could be a legitimate bug... that Dialog flow is not compatible with Azure Functions.

Hi, Even I'm getting the same error, any workaround for this?

Unfortunately no. They wanted to work with me to debug this but I didn't have anymore time to do so (and I'm not working with DialogFlow at the moment).

Is there any progress on this matter? @AskYous have you found a workaround?

No progress unfortunately.

Work around for me was to switch to AWS

Found out a way that works on Azure Functions with C#. Couldn't get it working with NodeJs unfortunately.

In case you guys still want a solution, i found one which is working :)
https://medium.com/@yoichiro/how-to-use-actions-on-google-client-library-on-azure-functions-node-js-178d5ecd04e3

Perfectly explains the situation.

Awesome job @SimonHaasnoot!

Thank you @SimonHaasnoot !

Was this page helpful?
0 / 5 - 0 ratings