Web messaging js 403 error

The widget loads on the page and I can start a chat without issue.

The problem starts when I call commands, for example: Genesys("command", "Messenger.open")

This results in a 403 error that the browser is unable to retrieve the script:
GET https://apps.cac1.pure.cloud/genesys-bootstrap/plugins/messenger.min.js net::ERR_ABORTED 403

Hi @devcor,

Thanks for reaching out to us. Before calling a Messenger plugin command, please subscribe to its ready event and call in its callback function. Here is the example:

Genesys("subscribe", "Messenger.ready", function() {
     Genesys("command", "Messenger.open");
});

Let me know how it goes after this. Apologize for not having it mentioned upfront in our documentation. We are updating our it in include this information.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.