Legacy Dev Forum Posts

 View Only

Sign Up

Error importing javascript SDK (ver.182.0.0 aka latest)

  • 1.  Error importing javascript SDK (ver.182.0.0 aka latest)

    Posted 06-05-2025 18:29

    jhwon | 2023-11-24 02:58:58 UTC | #1

    After the latest SDK version (182.0.0) was updated, problems occurred when importing the SDK from pages that used the 'javascript' SDK.

    I was using 'latest' as the path to import the sdk, but an error occurred while loading the updated version 182.0.0.

    If you specify the version part of the path directly (181.0.0) instead of 'latest', it will work, but if you specify the recently updated 182.0.0, the same error will occur.

    I am using the SDK by importing it as shown below.

    However, if you specify 'latest' or the updated version '182.0.0' after the update, an error occurs.

    <script src="https://sdk-cdn.mypurecloud.com/javascript/latest/purecloud-platform-client-v2.min.js"></script>

    • Below is the content of line 23 of the test page.

    • If you trace the error, it will eventually start with the error below.

    Is there a problem with the library updated to 182.0.0?

    How can I use 'latest' as is?


    andrewmcteigue | 2023-11-27 02:03:30 UTC | #2

    We're seeing the same issue. Any idea when a fix will be released?


    John_Carnell | 2023-11-27 21:34:48 UTC | #3

    Hi everyone,

    We are looking into the issue. We do not have an ETA yet on the fix. The current workaround is to use a specific version of the javascript SDk before version 182.

    Thanks, John Carnell Director, Developer Engagement


    Declan_ginty | 2023-11-29 14:13:47 UTC | #4

    Hi all,

    A new version of the javascript sdk has been released, 182.1.0, which should fix the issue.

    Regards, Declan


    jhwon | 2023-11-30 03:56:25 UTC | #5

    Hi Declan.

    I tested again. If you test by directly specifying version '182.1.0', the problem appears to have been resolved. Below is normal.

    <script src="https://sdk-cdn.mypurecloud.com/javascript/182.1.0/purecloud-platform-client-v2.min.js"></script>

    However, if I specify it as 'latest' and test it, I get the same problem.

    <script src="https://sdk-cdn.mypurecloud.com/javascript/latest/purecloud-platform-client-v2.min.js"></script>

    Below is an error.

    What could be the cause?

    Regards, JH


    Declan_ginty | 2023-11-30 13:23:20 UTC | #6

    Hi,

    We are aware of this issue and we apologies for the inconvenience. We believe we are having an issue with our CDN.

    Regards, Declan


    system | 2023-12-30 13:23:53 UTC | #7

    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: 23321