Hi,
We are trying to build integration b/w a chat application and Salesforce Live Agent.
For this we are using Live chat rest resources and as per the documentation we are able to initiate chat and after chat acceptance able to get agent name and the greeting message.
But we were unable to keep the session alive for more than 2 minutes from agent side. As we ran into callout exception error.
In the web-service for polling we are keep hitting the get chatmessage Live chat API when we are getting 200 and 204 response code from same as per below references. But after 120 seconds of chat established we ran in to callout exception.
https://help.salesforce.com/articleView?id=000331168&type=1&language=en_US&mode=1
Please suggest some solution/workaround regarding above problem.
Thanks,
Jatin