cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
480
Views
0
Helpful
1
Replies

Angular widget sample load issue

prasannakumar10
Level 1
Level 1

Team,

We tried embedding the default angular widget sample provided here under (https://github.com/WebexSamples/webex-contact-center-api-samples/tree/main/widget-samples/angular-widget). We used the same format for Layout Json as the 'Desktop-js-sdk-sample' with the angular build file hosted in our bucket and made publicly accessible.

The widget once setup as the layout for team errors out[console logs] on load (error screen shot attached for ref) and the widget screen stays blank.Upon refreshing the widget page, the console errors causing the previous issue no longer appear and widget works fine. The loading of widget fails again if refresh is made on home page instead of widget page and when navigated after refresh from home to widget.

We have not made any edits to the sample widget provided as reference and we're trying to make it work for exploring other use cases. Could you please help identify the issue by checking the screenshots provided for the errors, initial load behavior and post refresh behavior.

Our current assumption is the callstack exceeded error is causing the load issue. PFA the Layout Json used as well as txt file.

Error Snippets:

- index2.js:20 2024-02-21 01:31:09:348 ["agentx-js-api","[RTDWC JSAPI] =>","issue in loading rtdwc"]

- sdk.ts:135 2024-02-21 01:31:09:378 ["AgentX","Unhandled exception","Script error.","",0,0,null]

- index2.js:1 Uncaught RangeError: Maximum call stack size exceeded

 

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@prasannakumar10 would you mind opening a support ticket for this by sending an email to wxccdevsupport@webex.com ? This might be something where we need to do some testing and internal investigations on this error and a ticket is simply a better medium for that. Thanks