https://discord.gg/botpress logo
What is the reason for the WARM messages?
# 🤝help
c
There is an insert in the landing page, it sends a custom trigger, and the user receives a message saying TEST. This is what appears in the log: 20:23:18 warn Cannot save state agentsConversationVariables for conversation because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state agentsWorkflowsVariables for conversation because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state agentsUserVariables for user because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state userVariables for user because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state context for conversation because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state session for conversation because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state conversationVariables for conversation because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""}) 20:23:18 warn Cannot save state conversation for conversation because the ID is missing ({"bot":"710952f8-...","user":"","conversation":""})
a
I can help you fix this — it’s happening because the custom trigger fires before the user or conversation ID gets initialized, so Botpress can’t save the session. You’ll need to ensure those IDs are set before sending the trigger. Can you confirm if the trigger is sent from your landing page script or through an external API call? @creamy-teacher-84823
w
well that happens because none of those variables could be set
since the initial custom trigger didn't grab them from the request body
to that'll just mean they'll be set on the next block
that is, if the warn only shows up on the intial trigger event