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.

  1. If you’re using the default UI for chat, verify that you are calling showChat on the main UI thread.
  2. 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.
  3. Verify that you're using the correct chat endpoint. See Get Chat Settings from Your Org for more info.
  4. Verify that you're using the correct deployment ID and button ID. See Get Chat Settings from Your Org for more info.
  5. 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.