Embedded chat - loadPreviousSession errors and all JSON as strings

Describe the problem/error/question

I’m using the embedded chat widget on my site.
It seems I get a bunch of executions that are just loadPreviousSession even though I’ve always had that switched off in Chat trigger settings.

Also, all data coming from the embedded chat to my trigger seems to be stringified JSON. I noticed when I got back from holiday that basically everything failed, and I had to add a JSON.parse() to get that working again.

I had to pause the embed for now, since it was eating up executions.

This has worked fine before. I have made no changes to the embed script for a long time.

Please share your workflow

(I won’t include the whole workflow since the error really only is with the trigger and possibly the embedded chat widget)

Information on your n8n setup

  • n8n version: 1.100.1
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.