chat widget error: Can't find key in query string

Answered


Posted Sep 13, 2021

When loading the script tag async we get the following error:

vendors~rollbar.noconflict.umd.min.js:1 Key is missing from snippet
snippet.js?key=xxxx…xxxx:1

Likely the widget can't find the script - probably because the scripts are loaded in different order then they appear in the source code, so the widget code tries to get the key from the wrong script tag.

Can we provide the Zendesk key elsewhere? Like in a global variable ? example
<script>
ZendeskKey="xxxxxxx";
</script>

 

---

#chat
#chat-widget
#chat-snippet
#bug
#JavaScript


0

3

0 comments

Sign in to leave a comment.

ADDITIONAL CONTENT

More about

Didn't find what you're looking for?

New post