Chat widget 1.1 throws exception: 'No agent info found'

Hello my name is Colin,

I'm trying to implement the chat widget v1.1 that is specified under this link: Web Chat

The problem we are facing right now is that when a user starts the chat via the example code, we get the following throw in the console window of our browser:
frame-c46a0aa0.js:472 Uncaught (in promise) Error: No agent info found
at frame-c46a0aa0.js:472
at n (frame-c46a0aa0.js:5)
at Generator._invoke (frame-c46a0aa0.js:5)
at Generator.t.<computed> [as next] (frame-c46a0aa0.js:5)
at n (frame-c46a0aa0.js:472)
at frame-c46a0aa0.js:472

This doesn't prevent chat functionality, actually, the chat still works and you can still connect to an agent and get the help you need.

The problem is that we are using:
webchat.chatEnded = function (ex) {
}
and since the javascript in the iframe has thrown an error the binding that it caught from our javascript configuration is ignored and never executed. If an agent chooses to end the chat in PureCloud the binding never triggers and we loose functionality to do something after the chat has ended.

Please note that we tried v1.0 and this worked perfectly, no thrown errors and we could get the binding to execute when an agent chose to end the chat in v1.0.

Thank you for reading this,
Regards,
#DigitalChannels
#Implementation
#Integrations


Colin Padget
Advania AS

I have the same issue. Have tested this through the demo tool (web chat) here on developer page.

Thanks, I can reproduce this too. We'll take a look. May be best to open a case so support can follow up with you on progress.

Replied on the community forum as well.
https://community.genesys.com/digestviewer29/viewthread?MessageKey=76efbe82-97f6-4d24-9e09-00e2c3712d16&CommunityKey=bab95e9c-6bbe-4a13-8ade-8ec0faf733d4

Yes, we have opened a case with PureCloud Support. Haven't heard anything yet.

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