helpful-hospital-22115
03/17/2024, 12:31 AMjs
var webhookURL = "webhookURL"
// Add the prefix '!response ' to the aiResponse
const modifiedAiResponse = '!response ' + workflow.aiResponse
// Send the modified aiResponse to the webhookURL
await axios.post(webhookURL, { aiResponse: modifiedAiResponse })
so with that code this is the error
Error executing action "inline-card:Send modified AI response to Discord webhook URL..js" in flow:Main:node:Standard2
HTTP (post) URL
Received "Cannot send an empty message"
Request failed with status code 400
{"scope":"bot-action","cardId":"card:Send modified AI response to Discord webhook URL.","nodeId":"node:Standard2","workflowId":"flow:Main"}
Iām getting this error even tho the aiResponse does have a value to it
Any help provided will help me along!astonishing-napkin-74260
03/17/2024, 12:42 AMhelpful-hospital-22115
03/17/2024, 12:50 AMhelpful-hospital-22115
03/17/2024, 12:54 AMhelpful-hospital-22115
03/17/2024, 12:54 AM