Share feedback, ideas and get community help

Updated 2 months ago

INTERNAL_SERVER_ERROR

Hi everyone! πŸ‘‹

I'm experiencing an issue with Typebot integration on my webpage. Here are the details:

{
"message": "Cannot read properties of undefined (reading 'filter')",
"code": "INTERNAL_SERVER_ERROR",
"data": {
"code": "INTERNAL_SERVER_ERROR",
"httpStatus": 500,
"path": "startChat"
}
}



Error! Couldn't initiate the chat. ()
https://typebot.io/api/v1/typebots/chat/startChat 500 (Internal Server Error)

Important Note:
The chat works perfectly when accessed directly through its URL, but fails when embedded in my webpage.
Attachment
asdas.png
B
Z
3 comments
Can you provide the link to your webpage?
I've noticed something important: the error only occurs when I enable the "Remember user" feature with Storage set to "local".
When "Remember user" is disabled, the chat integration works perfectly fine.
I've already tried adding and removing apiHost: 'https://typebot.io' , but the issue still persists.
Really appreciate your help on this @Baptiste
I found a solution. At the end of the flow, I set a variable, and before starting the flow I check if it is set.
If it is, I do a redirect.
Attachment
asdasdasdasd.png
Add a reply
Sign up and join the conversation on Discord