jolly-crimson•3mo ago
URL fail
Why does this happen on halv of the website, there are nothing wrong with the URL’s and it’s build with Shopify?

2 Replies
Hi there!
A “URL fail” / blank widget on some Shopify pages is usually caused by the Voiceflow web-chat script not being able to reach (or be authorised by) your agent’s runtime. Please run through these quick checks:
1️⃣ Privacy toggle
• Open your agent in Voiceflow → Settings → Danger Zone.
• If “Private agent” is ON the runtime will return 401 Unauthorized and the widget will show an error on any page that doesn’t include your API-key. Switch it OFF to make the agent public. 2️⃣ One copy of the embed snippet across every page
• Add the full
• Pages that use a different layout file can miss the script, which looks like the URL can’t be found. 3️⃣ Version / runtime values
• Make sure
• Keep the default runtime URL unless you’re on a Voiceflow Private-Cloud instance. 4️⃣ Browser console
Open DevTools → Console/Network on a failing page. If you see a
• Open your agent in Voiceflow → Settings → Danger Zone.
• If “Private agent” is ON the runtime will return 401 Unauthorized and the widget will show an error on any page that doesn’t include your API-key. Switch it OFF to make the agent public. 2️⃣ One copy of the embed snippet across every page
• Add the full
<script …>
snippet to theme.liquid (or use a Theme-App block) so all templates inherit it.• Pages that use a different layout file can miss the script, which looks like the URL can’t be found. 3️⃣ Version / runtime values
• Make sure
versionID
is set to production (or development while testing) and that you’ve clicked Run after your last change.• Keep the default runtime URL unless you’re on a Voiceflow Private-Cloud instance. 4️⃣ Browser console
Open DevTools → Console/Network on a failing page. If you see a
401 – Unauthorized
JSON response such as {"code":401,"status":"Unauthorized","data":"no access to project"}
, it confirms point 1.
After these steps the widget should load on every Shopify URL. If it’s still intermittent, grab the exact console error message and we can dig in further.
Docs: https://docs.voiceflow.com/docs/chat-widgetjolly-crimsonOP•3mo ago
No voiceflow wont process my url’s