Agent Side Connection not getting disconnected on disconnect event called from website

Hi,

We are facing an issue with disconnecting the chat session. We are using below comand to close the connection from the webpage but we can still see the chat session not disconnected on agent side.
{
"action": "closeSession",
"token": "0000000-0000-0000-0000-0000000000",
"tracingId": "11111111-1111-1111-1111-111111111111",
"closeAllConnections": true
}

Below are the actual request and response from the website

Respone:-

Hi @Mahesh_Kumar,

If you would like to disconnect the chat session for both parties, then your option is to clear the conversation. See [MessagingService.clearConversation](https://developer.genesys.cloud/commdigital/digital/webmessaging/messengersdk/SDKCommandsEvents/messagingServicePlugin#messagingservice-clearconversation) command. Also, when using this command please ensure Clear conversation is enabled in your Messenger configuration. Let us know if anything else.

Thanks,
Ranjith Sai

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