dialogflow-fulfillment-nodejs
dialogflow-fulfillment-nodejs copied to clipboard
Cannot add more than one Custom Payload
Hi there, I'm trying to add custom payload twice in the following way;
cards = new Payload('PLATFORM_UNSPECIFIED', cardObj, { sendAsMessage: true, rawPayload: true });
agent.add(cards)
I'm getting such an error:
Error: Payload response for PLATFORM_UNSPECIFIED already defined.
Any idea how can I send more than one custom payload?
Thanks
Same problem here. Did you find any solution?
assign the property to the dialogflow response object and then you can get it.
On Tue, Mar 3, 2020, 17:58 David Santiago Pulido Gómez < [email protected]> wrote:
Same problem here. Did you find any solution?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/290?email_source=notifications&email_token=ALEL3CSWXCIQM3PWMAMEQR3RFVVN7A5CNFSM4KTEHPJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVDZOQ#issuecomment-594164922, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEL3CWFZOJMTV56MUFHOH3RFVVN7ANCNFSM4KTEHPJQ .