Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Chat widget 1.1 throws exception: 'No agent info found'

    Posted 09-19-2019 10:49
    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 AB
    ------------------------------


  • 2.  RE: Chat widget 1.1 throws exception: 'No agent info found'

    Posted 09-20-2019 03:07
    We also get this, same behavior. .

    ------------------------------
    Joel Hellman
    Hi3G
    ------------------------------



  • 3.  RE: Chat widget 1.1 throws exception: 'No agent info found'

    GENESYS
    Posted 09-20-2019 08:30
    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.

    ------------------------------
    Lucie DeCristofaro
    Genesys - Employees
    ------------------------------



  • 4.  RE: Chat widget 1.1 throws exception: 'No agent info found'

    Posted 09-23-2019 08:41
    Hi community:

    I experimented the same behavior and got the same error when I implemented this widget.
    We asked this in the Developer Forum but got the same response: "to put a case in Genesys MySupport", I suggest Genesys can review this widget implementation and make a hotfix.

    These are the links with the reports we made:
    1.  https://developer.mypurecloud.com/forum/t/agent-information-neither-the-agents-name-nor-the-avatar-image-of-the-agent-is-displayed/5181
    2.  https://community.genesys.com/communities/community-home/digestviewer/viewthread?GroupId=19&MessageKey=51436ae4-b421-4d2d-a7c4-ff8bcae5d2f2&CommunityKey=bab95e9c-6bbe-4a13-8ade-8ec0faf733d4&tab=digestviewer&ReturnUrl=%2fcommunities%2fcommunity-home%2fdigestviewer%3fListKey%3d510ed02d-5f53-4ff8-a945-f8f0b2847056%26SuccessMsg%3dThank%2byou%2bfor%2bsubmitting%2byour%2bmessage

    Thanks for all.

    ------------------------------
    William Martín Chávez González
    Global Networks Solutions S.A.
    ------------------------------



  • 5.  RE: Chat widget 1.1 throws exception: 'No agent info found'

    GENESYS
    Posted 09-23-2019 08:46
    Yes, we are fixing it regardless of if you open a case or not.

    ------------------------------
    Lucie DeCristofaro
    Genesys - Employees
    ------------------------------



  • 6.  RE: Chat widget 1.1 throws exception: 'No agent info found'

    Posted 09-23-2019 11:52

    Case was submitted Friday 20th. Eagerly waiting for the fix...

    :)



    ------------------------------
    Colin Padget
    Advania AB
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources