---
# System prepended metadata

title: Untitled

---

## 	Chat widget errors

When a user interacts with the chat widget, they may encounter different types of error messages based on the type of error.

The table provides all the possible errors with descriptions:

Errors | Description
-------|------------
File upload limit | You can upload files with a maximum size of 20 MB. This error occurs when you try to upload files that exceed this limit.<br/> <img src="https://i.imgur.com/C4AEI7c.png" alt="drawing" width="40%"/> 
Network disconnected | When the bot users are disconnected from the internet, the chatbot notifies them and provides an option to reload the page.<br/>**Note:** If network connection is re-established, the chatbot will again connect to the internet without having to reload.<br/> <img src="https://i.imgur.com/ARNfqU8.png" alt="drawing" width="40%"/>
Network error | This error occurs when the chat widget is disconnected from the internet while sending a message, uploading a file, or selecting quick replies.<br/> <img src="https://i.imgur.com/zS1AXia.png" alt="drawing" width="40%"/> 
Input bar typing limit | Displays a message when users reach the maximum limit of 500 or 1024 characters. If the user exceeds this limit or attempts to paste more than the maximum allowed characters, the system will prevent them from typing or pasting additional characters.<br/> **Note:**<br/>• If the user reaches the maximum limit of 1024 characters for multi-line input, then **You have reached maximum character limit of 1024** error message is displayed, and this is enabled via bot mapping.<br/>• If the user reaches the maximum limit of 500 characters for single-line input, then **You have reached maximum character limit of 500** error message is displayed, and this is enabled via bot mapping. <br/><img src="https://i.imgur.com/A4Bf0aY.png" alt="drawing" width="40%"/><img src="https://i.imgur.com/SFNBSQv.png" alt="drawing" width="40%"/>


When an agent is connected to the bot, is it possible to close the conversation and trigger the particular journey?

Yes. When an agent is connected to the bot, the bot is in a paused state, but it is not possible to trigger the journey. To trigger a particular flow and close the conversation, you can either configure the "talk to bot" button value in the callout banner or via the function
The following is the sample function:


```c
array = [{
            title: 'Wish to end your chat with our Live Agent',
            options: [
                {
   
                 title: 'End Chat', text: "talk to bot"
                }
            ]
        }]
event : ui-event-update-promotion
```
To configure “talk to bot” button value in the callout banner, follow these steps:

1. Navigate to **Studio > Conversation settings > Callout banner**.

   ![](https://i.imgur.com/HBKYqOg.png)
   
2. Enter the title and button name. Click **Update**.

    <img src="https://i.imgur.com/rorMtMu.png" alt="drawing" width="40%"/><img src="https://i.imgur.com/0qqQDEI.png" alt="drawing" width="40%"/>

  * The callout banner has been updated successfully.   



