Troubleshooting
The widget doesn’t load
Section titled “The widget doesn’t load”- Check that
window.SupportDeskis defined in the console. - Check the script URL in the browser’s Network tab.
- Make sure
init()is called after the script has loaded (script.onload).
401 Unauthorized error
Section titled “401 Unauthorized error”Your appId or apiKey is incorrect, or customer.externalId is not provided while it’s required for protected endpoints.
CORS error
Section titled “CORS error”The SupportDesk backend allows all origins by default. If you see a CORS error, the widget probably didn’t initialize correctly. Check that VITE_API_URL isn’t overridden.
The Shadow DOM breaks my CSS
Section titled “The Shadow DOM breaks my CSS”It shouldn’t — the widget is fully isolated. If you see stray styles, please open a ticket with a reproducible example.
Need help?
Section titled “Need help?”Use SupportDesk on this page (icon in the bottom right) or contact us at innovartx@gmail.com.