You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Leaving out the payload results in only the unspecified platform message in the fulfillmentMessages (which is correct) and a fulfillmentText attribute.
But when a payload is added it causes all the platform messages to be in the fulfillmentMessages instead of just the PLATFORM_UNSPECIFIED, and wipes out the fulfillmentText attribute
is there a way around this? i've tried adding the text and webhookPayload to the agent both individually and as an array
i've even tried setting the agent.consoleMessages to null in the webhook.
No luck
The text was updated successfully, but these errors were encountered:
Since there hasn't been any activity on this post for the past few months, I don't know if this is still an issue for you, but my advice is check the version you are running of the dialogflow-fulfillment library. I was having the same issue with adding a custom payload on an unspecified platform and tried following jdpowell's solution from #177 without success, but it said it needed a certain commit and up in order to work. I'm using the inline editor built into Dialogflow, and under package.json I saw that the version specified by default was an older release than the most current one. Changing it to reflect the latest release (^0.6.0) fixed this issue. Additionally, be sure to set the option {sendAsMessage:true} when you create a new Payload.
Leaving out the payload results in only the unspecified platform message in the fulfillmentMessages (which is correct) and a fulfillmentText attribute.
good.
But when a payload is added it causes all the platform messages to be in the fulfillmentMessages instead of just the PLATFORM_UNSPECIFIED, and wipes out the fulfillmentText attribute
bad.
is there a way around this? i've tried adding the text and webhookPayload to the agent both individually and as an array
i've even tried setting the
agent.consoleMessages
to null in the webhook.No luck
The text was updated successfully, but these errors were encountered: