Skip to content

Error Subscribing Platform Event in Salesforce Community Site(Experience Cloud) #4

@Daniel-Deepak-Dev

Description

@Daniel-Deepak-Dev

Hi @TheVishnuKumar ,
I was trying to subscribe the platform event in aura component place in a Community Site. I am getting an unsupported error.
Could you please give us any solution?

Same happened, even If I use LWC. The problem must be with the Community Site.

aura_proddebug.js:55762 WARNING: Unsupported long-polling,callback-polling method: toJSON. Returning undefined

Error Response is

{
  "error": {
    "id": "1",
    "successful": false,
    "channel": "/meta/handshake",
    "failure": {
      "reason": "Not Found",
      "httpCode": 404,
      "connectionType": "long-polling",
      "transport": {},
      "message": {
        "id": "1",
        "version": "1.0",
        "minimumVersion": "1.0",
        "channel": "/meta/handshake",
        "supportedConnectionTypes": ["long-polling", "callback-polling"],
        "advice": { "timeout": 60000, "interval": 0 }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions