Can’t Connect to Chat
If you can’t make a successful connection from your app, even when an agent is standing by, review how you’ve set up your chat implementation.
Run through this checklist to help diagnose the root cause.
- If you’re using the default UI for chat, verify that you are calling
showChaton the main UI thread. - Verify that the chat endpoint in your code only specifies the hostname. For instance, if your endpoint is
https://{MyDomainName}.my.salesforce-scrt.com/chat/rest/, then use the following value in your code:{MyDomainName}.my.salesforce-scrt.com. - Verify that you’re using the correct chat endpoint. See Get Chat Settings from Your Org for more info.
- Verify that you’re using the correct deployment ID and button ID. See Get Chat Settings from Your Org for more info.
- Verify that you’ve correctly set up your chat implementation. See Org Setup for Chat in Lightning Experience with a Guided Flow for more info.