5

I am receiving errors in lightning:empApi in the console. It was working fine before summer19 release in the sandbox. It works fine in scratch org. Scratch org is also on summer19.

The error is attached:

Received error {"advice":{"interval":0,"reconnect":"handshake"},"channel":"/meta/connect","id":"7","error":"403::Unknown client","successful":false}

enter image description here:

  • 1
    Could you please provide you simplest code you reproduce that problem? – Patlatus May 8 at 13:25
  • @Patlatus the code is taken from on this trailhead unit. trailhead.salesforce.com/en/content/learn/projects/… Update on this: Error is still sometimes coming but now the payload has started working as well. I haven't changed anything. – Vishnu Kumar May 9 at 2:24
  • I am also getting this error. If I create a new component and use the example from the lightning:empApi documentation exactly, it gives the 403 handshake error. I'm in a sandbox, api v46. This will happen with both Google Chrome and Firefox. – cadencereplies Jun 24 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.