Oracle Web Channel -SDK: Uncaught TypeError: WebSDK is not a constructor
Summary:
Accessing the web-sdk from JavaScript code give below error for Oracle Web Channel
Bots = new WebSDK(chatWidgetSettings);
Uncaught TypeError: WebSDK is not a constructor
Content (required):
Below code working with version 20.8.1, but throwing "WebSDK is not a constructor" with latest SDK version 22.12.0
Bots = new WebSDK(chatWidgetSettings);
I tried to follow this link https://docs.oracle.com/en/cloud/paas/digital-assistant/sdk-js/index.html#html-script-tag
Version (include the version you are using, if applicable):
22.12.0
Code Snippet (add any code snippets that support your topic, if applicable):
Bots = new WebSDK(chatWidgetSettings);
Tagged:
0