https://discord.gg/botpress logo
Execute code card stuck on post request
# 💻developers
a
Hey Devs! I've run into an issue with botpress execute code card.
Copy code
const apiUrl = 'https://<workspacename>.app.n8n.cloud/webhook/<endpoint>';

const payload = {
  name: workflow.userName,
  email: workflow.userEmail,
  phone: workflow.userPhone,
  conversationId: event.conversationId
};

axios.post(apiUrl, payload)
I'm basically trying to save the details of the user in a google sheet along with some other processing in n8n . But the botpress workflow stops at this execute code card for some reason. Additionally, this only happens in published chat. When I use the test emulator, everything works as expected. Would appreciate any help!
Any help for the above issue would be super!
w
What is the error, what are the logs etc