Skip to content

Widget not loading

If the widget script is in the page but no UI appears, work through this list in order.

1. Check the script URL

Open DevTools → Network. Filter by “widget”. You should see one request to cdn.reqdesk.support/widget/<version>/index.iife.js. Status should be 200.

If it is a 404:

  • Visit https://cdn.reqdesk.support/widget/versions.json — that is the canonical list of currently-served versions.
  • Versions 1.2.20 and 1.2.21 are intentionally not retained. If you pinned to either, bump to 1.2.22 or latest.

2. Check the console

If the script loaded but no widget appears, look for a ReferenceError or any other runtime error. The most common cause has been the now-fixed externalised-ofetch bug in 1.2.20 / 1.2.21. Bumping the version resolves it.

3. Check the apiKey you passed to init()

Open DevTools → Console → run:

typeof window.ReqdeskWidget

If it logs undefined, the IIFE bundle never finished loading — go back to step 1.

If it logs 'object' but the launcher never appears, your init() call probably failed. Re-run it manually:

window.ReqdeskWidget.init({
apiKey: 'your-project-api-key',
apiUrl: 'https://api.reqdesk.support',
})

If the launcher then appears, your original page-load wiring fired before the IIFE was ready. Move the init() call inside window.addEventListener('load', ...) or after the script’s own load event.

If init() runs without throwing but submissions return 401, the apiKey is wrong, expired, or scoped to a different project than you expected. Regenerate it in the platform’s API Keys settings.

4. Check CSP

If your site uses Content-Security-Policy, the browser console will show a CSP violation. Allow:

script-src https://cdn.reqdesk.support https://challenges.cloudflare.com
connect-src https://api.reqdesk.support https://challenges.cloudflare.com
frame-src https://challenges.cloudflare.com

5. Check Turnstile

If the widget renders but the submit button does nothing, the Turnstile challenge is probably failing silently. Open the widget, look for the small Cloudflare “verifying” indicator. If it never appears, your CSP is blocking challenges.cloudflare.com.