Jose Manuel Palau
Jose Manuel Palau

Reputation: 31

Missing DialogFlow documentation about google.cloud.dialogflow.v2.Intent.Message

I'm trying to make out a DialogFlow Bot (AKA api.ai), and I'm running into this problem

"Webhook call failed. Error: Failed to parse webhook JSON response: Cannot find field: msj in message google.cloud.dialogflow.v2.Intent.Message."

But my problem is that I can't find the field required on google.cloud.dialogflow.v2.Intent.Message

Upvotes: 0

Views: 179

Answers (1)

Yahoo Serious
Yahoo Serious

Reputation: 3928

The error message "Cannot find field" is a bit confusing (ambiguous). It is not complaining about an expected missing field, but about what an unexpected (superfluous) field. You were (probably) sending this field, and DialogFlow does not understand it, because it is not defined by the API (which is the reason you can't find it).

Upvotes: 1

Related Questions