Dialogflow-fulfillment-nodejs: Sample Produces error: MalformedResponse expected_inputs[0].input_prompt.rich_initial_prompt: 'item[1]' must not be empty.

Created on 2 May 2018  路  9Comments  路  Source: dialogflow/dialogflow-fulfillment-nodejs

If you follow the steps here (Option 2) and run the application in simulator you get the error below

MalformedResponse
expected_inputs[0].input_prompt.rich_initial_prompt: 'item[1]' must not be empty.

Edit: Option 1 to option 2

bug

All 9 comments

@sherazlodhi were you able to solve the issue ?? because I am facing the same issue

@omfd can you post your code?

Option 1 has now been changed to option 2 on that link.

I'm still facing the issue. I've used the same code that's provided in the sample here

@sherazlodhi , @omfd , was anyone of you able to fix the issue?

@matthewayne , I think there is definitely an issue either with this Actions On Google Sample, or with the agent.conv method.

This will be fixed in the next npm release. The fix is currently checked into master on Github, so you can pull from Github now if you'd like

@sherazlodhi , hi i am still facing this issue did any one solved it??

I still see the issue as well.

This was fixed in v0.4.1

Was this page helpful?
0 / 5 - 0 ratings