Custom web SDK widget getting error when connecting



已于 2023年9月05日 发布

Hey I used the websdk https://api.zopim.com/web-sdk/#chat to build a custom widget for some clients, one client is working perfectly, the other client is getting an error like the following every time we try to init a chat:

{"path":"connection","update":{"status$string":"error","registration_error":{"cause$string":"illegal_web_sdk"}},"seq":3}

 

Any ideas?


0

2

2 条评论

      I think I have it figured out, the registration message below, and the following callout on API docs led me to investigating the plan level for our customer, the customer that is not working is Professional plan, the customer that is working is Enterprise, looks like the ZOPIM SDK is only available for Enterprise or Premium (Legacy) accounts. Confirmation if possible would be appreciated. 



      I noticed two differences in the registration message sent when the sdk loads: 
      Legacy implementation: { ... "source":"web_embeddable","source_ver":"!ERR", ... }
      New implementation: { ... "source":"web_sdk","source_ver":"1.11.2", ... }


      Legacy implementation Zendesk SDK/script src:

      https://static.zdassets.com/ekr/snippet.js?key=[APIKEY]

      New implementation Zendesk SDK/script src:

      https://dev.zopim.com/web-sdk/1.11.2/web-sdk.js

       

      0


      Hi Will! It's difficult to say based on this information, as I've never seen those error codes before. What differences do the clients have within their Zendesk instances? Do they have different plans, different agent permissions, etc?

      0


      登录以发表评论。

      找不到所需的内容?

      新建帖子