I have a problem with AI agent node, all the process takes like 2-3 minutes to finished and the live chat node get stuck with 3 dots. When I inspect element it shows this error
‘SyntaxError: Unexpected token ‘<’, "<!DOCTYPE "… is not valid JSON
Fl @ chat.bundle.es.js:817’
However when I am testing it via chat inside the workflow, it does not have that issue and works fine or as expected. The AI agent respond back even though it takes a while to complete executing the process and I get acknowledgement that the process has been completed.
The problem only happens when using the live CHAT URL.
When I paste the same script or text in live, it get stuck, inside workflow it works.
Information on your n8n setup
- **n8n version 1.9.3
- **Database (default: SQLite): n/a
- **n8n EXECUTIONS_PROCESS setting (default: own, main) main
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Hosted N8N Cloud
- **Operating system: Windows 11