Reputation: 679
I am using the dialogflow agent and trying to send a response to the user. Here is my code:
app.intent('Answer6', (conv) => {
const ans = conv.parameters.any;
senddata[8] = qstion[8] + ans;
conv.close('Thank you');
});
After this intent, I am getting this error:
Error: No response has been set.
Is this being used in an async call that was not returned as a promise to the intent handler? at DialogflowConversation.response
Upvotes: 0
Views: 126
Reputation: 50741
If you're not using async functions, and it doesn't look like you are, this is usually an indication that your function crashed while running. You may wish to check the logs of where the function is running (Cloud Functions, for example) and see what other errors are being generated.
Upvotes: 1