# Problem with AI chatbot "Chat ended due to inactivity"

**URL:** <https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931>\
**Category:** General Questions\
**Tags:** ai-chatbot\
**Created:** [September 23, 2025, 2:17pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931 "2025-09-23T14:17:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederic\_Revellat](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/frederic_revellat/32/78285_2.png) [@Frederic\_Revellat](https://community.elfsight.com/u/Frederic_Revellat)\
**Post date:** [September 23, 2025, 2:17pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/1 "2025-09-23T14:17:34Z")

</div>

Hello I have a problem on my chat, I cna not send any new message and I have this displayed: “Chat ended due to inactivity”

I’ve tired many time to hard refresh etC… but everytime I open the chat I get this message. Any one can give me a solution, please ?

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 23, 2025, 2:30pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/3 "2025-09-23T14:30:37Z")

</div>

Hi there, @Frederic_Revellat 👋

Apologies for the inconvenience!

Have tried to click on the Start new Chat button? If it didn’t work, please send me a link to the page, where your widget is installed. I’ll be happy to look into this for you 🙂

---

<div class="post-metadata">

**Author:** ![Frederic\_Revellat](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/frederic_revellat/32/78285_2.png) [@Frederic\_Revellat](https://community.elfsight.com/u/Frederic_Revellat)\
**Post date:** [September 23, 2025, 2:42pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/4 "2025-09-23T14:42:28Z")

</div>

Thanks for your really quick reply.  
In faxct my page is not published yet and I don’t want ot make it public for now.  
But maybe my problems come from the customization I made. I used a JS code:

```auto
const triggerBtn = document.getElementById('wolfbottrigger');
const overlayDiv = document.getElementById("chat-overlay");
triggerBtn?.addEventListener('click', (e) => {
  e.preventDefault();
  e.stopImmediatePropagation();

  const chatWindow = document.querySelector(
    '[class*="widget-window__MessagesContainer-sc"]'
  );

  if (!chatWindow) {
    const openChatBtn = document.querySelector(
      '[class*="eapps-ai-chatbot"] [class*="FloatingButtonContainer-sc"] button'
    );
    overlayDiv.style.display = "block";

    openChatBtn?.click();
  }
});

```

I made several buttons tiles to start the chat, I did not want to use the small bubble.

Maybe this will help you to solve the problem ?

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 23, 2025, 2:49pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/5 "2025-09-23T14:49:32Z")

</div>

Do I get it right that the Start New Chat button under the “Chat ended due to inactivity" caption doesn’t show up on your end?

---

<div class="post-metadata">

**Author:** ![Frederic\_Revellat](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/frederic_revellat/32/78285_2.png) [@Frederic\_Revellat](https://community.elfsight.com/u/Frederic_Revellat)\
**Post date:** [September 23, 2025, 3:05pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/6 "2025-09-23T15:05:20Z")

</div>

Exactly I don’t have it

When i start a new session from a new window it works but on my browser it does not.

But as soon as the “Chat ended due to inactivity”, I can not start again

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 23, 2025, 3:08pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/7 "2025-09-23T15:08:32Z")

</div>

Got it, thanks!

Please try to remove your JS code from the widget, reload the page with the widget and let me know if this button appeared 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 23, 2025, 3:11pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/8 "2025-09-23T15:11:20Z")

</div>

If the JS code deletion doesn’t affect the button display, there is a chance it might be blocked by the styles of your website/browser.

Please try add this code to the Custom CSS field on the General tab of your widget’s settings and let me know if it worked:

```auto
[class*="ButtonBase__ButtonContainer"] {
    display: block !important;
}

```

---

<div class="post-metadata">

**Author:** ![Frederic\_Revellat](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/frederic_revellat/32/78285_2.png) [@Frederic\_Revellat](https://community.elfsight.com/u/Frederic_Revellat)\
**Post date:** [September 23, 2025, 3:12pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/9 "2025-09-23T15:12:32Z")

</div>

The problem comes from this css:

```auto
[class*="ButtonBase__ButtonContainer-sc"] {
  display: none;
}

```

But i want to hide the bubble but not the “start…”

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 23, 2025, 3:16pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/10 "2025-09-23T15:16:57Z")

</div>

Got it, thanks for letting me know!

To hide only the bubble, please use the CSS code with a more specific class: 🙂

```auto
.es-bubble-floating-button {
  display:none
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/7/7/7780530f8e17b222ac8d277b247cb9489132913c.png)

---

<div class="post-metadata">

**Author:** ![Frederic\_Revellat](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/frederic_revellat/32/78285_2.png) [@Frederic\_Revellat](https://community.elfsight.com/u/Frederic_Revellat)\
**Post date:** [September 23, 2025, 3:19pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/11 "2025-09-23T15:19:19Z")

</div>

Perfect, many thanks

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 23, 2025, 3:19pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-chat-ended-due-to-inactivity/139931/12 "2025-09-23T15:19:40Z")

</div>

It’s my pleasure 😉
