StackAI - Unsuccessful response retrieval. 'undefi...
# 🤝help
This is my situation: my code isn't wrong (9/10), stackai is successfully receiving my user question variable and generating a response. The problem however is no matter what question I ask or have generated by stackai, botpress will fail to retrieve it and will always just post 'undefined' as if that was the stackai response. Any similar experiences? Was it the recent update? Please I need help I've been stumbling over this for literal days.
Hey there, I am not very familiar with Stack AI, but I can see that there is an issue with your code. This part:
Copy code
const data = {
  "in-0": workflow.question variable,
I think that the space shouldn't be there. Maybe it should be a punctuation instead
Id recommend you copying this code, which shouldnt have any error :