Open slowtick opened 6 years ago
Currently worked around by setting platform to 'PLATFORM_UNSPECIFIED' in request before initializing the WebhookClient
if (!request.body.queryResult.fulfillmentMessages)
return;
request.body.queryResult.fulfillmentMessages = request.body.queryResult.fulfillmentMessages.map(m => {
if (!m.platform)
m.platform = 'PLATFORM_UNSPECIFIED';
return m;
});
It is 2020 and the error persists. I have to remove the payload for the webhook call to not send an unhandled promise warning when there is payload
I am facing the same issue. Has no one solved this yet ?
Dialogflow Console allows to add Custom Payload to Default platform.
Webhook request for such an intent with custom payload in Default platform fails to parse with below exception.
Can we get support for custom payload with Default platform?