Legacy Dev Forum Posts

 View Only

Sign Up

Web messaging js 403 error

  • 1.  Web messaging js 403 error

    Posted 06-05-2025 18:37

    devcor | 2023-09-01 20:37:17 UTC | #1

    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


    RanjithManikanteSa | 2023-09-05 21:16:56 UTC | #2

    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.


    system | 2023-10-05 21:17:40 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 21816