https://discord.gg/botpress logo
[BUG] conversationStarted trigger is fired even wh...
# 🤝help
w
It started when we suddenly got 5000 of active conversations a day (the website traffic is approximately 1000 a day - we also checked that was not caused by bots) It was several conversationStarted events by minutes (from 10 to 30) So i decided to delete the conversationStarted trigger just to stop the hemorrhage , but it turns out we're still receiving conversationStarted events , which is in theory impossible the problem is still happening, and it has burned over 30 000 events in the past few days, which is very problematic FYI, i use the latest version of the webchat library , and here's the package.json :
Copy code
{
  "name": "",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "lint": "eslint .",
    "preview": "vite preview"
  },
  "dependencies": {
    "@botpress/webchat": "^4.4.3",
    "react": "^19.2.0",
    "react-dom": "^19.2.0"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.1",
    "@types/luxon": "^3.7.1",
    "@types/node": "^24.10.1",
    "@types/react": "^19.2.5",
    "@types/react-dom": "^19.2.3",
    "@vitejs/plugin-react": "^5.1.1",
    "eslint": "^9.39.1",
    "eslint-plugin-react-hooks": "^7.0.1",
    "eslint-plugin-react-refresh": "^0.4.24",
    "globals": "^16.5.0",
    "typescript": "~5.9.3",
    "typescript-eslint": "^8.46.4",
    "vite": "^7.2.4",
    "vite-plugin-css-injected-by-js": "^3.5.2"
  }
}
it would be great to investigate this bug ! https://cdn.discordapp.com/attachments/1474089866823204958/1474089867045638205/image.png?ex=699894ab&is=6997432b&hm=4d187540536a7517e7843503a5709bb9d16e95e2bd83bc05cd3ff98930baba08&
there is no code fireing this event by the way
and even if that was the case, there is - in theory - no way to trigger the conversationStarted event if the trigger is not live/present in the studio
l
can you drop your workspace ID @wooden-beard-40210
w
yep
i had a conversation with someone via the help chat but i dont' know why the whole conversation got deleted so i'm writing here
(so someone already checked the bot and so on)
wkspace_01JP5GG7Q386D69886QKGDJQFS
l
Hey @wooden-beard-40210
Open up a new chat with support/ I was notified they will merge the old one that was closed!
w
Okay great thanks !
8 Views