Skip to main content

Unable to see the Digital Assistant

Learn how to identify and resolve Content Security Policy (CSP) errors that can disrupt the functionality of the Digital Assistant.

Cristiana Ghinea avatar
Written by Cristiana Ghinea
Updated yesterday

Clear cache and cookies

If you can no longer see the Digital Assistant icon, first clear your cache and cookies.

If you are still experiencing issues with seeing the Digital Assistant icon or any of its functionalities after this has been completed, please share the steps below with your IT department.


What are CSP errors?

Content Security Policy (CSP) is a security feature that controls which resources (like scripts or images) can be loaded on your website. If your site's CSP configuration is too restrictive, it can block resources such as the Digital Assistant, help centres or product tours.


Identify CSP errors

To confirm that CSP is causing issues on your site, you'll need to check your browser's developer console.

  1. Open the developer tools in your browser (typically by pressing F12 or right-clicking and selecting Inspect).

  2. Navigate to the Console tab.

  3. Reproduce the issue on your site, for example, by trying to upload an image or save a Product Tour.

  4. Look for red error messages in the console indicating a CSP violation. These messages often mention blocked requests to Intercom domains (e.g., uploads.intercomcdn.com, *.intercom.io) and the specific CSP directive that caused the block, such as connect-src or img-src. Example error: Refused to load the script 'https://widget.intercom.io' because it violates the following Content Security Policy directive: "script-src 'self'".


Resolve CSP errors

To resolve these errors, you'll need to update your site's CSP configuration to allow resources from Intercom's required domains.

1. Update your CSP directives

  • Locate the error directive: In the developer console error, identify which directive caused the restriction (e.g., img-src).

  • Whitelist Intercom domains: Add the required Intercom URLs to the relevant directives in your site's CSP configuration.

⚠️ Important: You will typically need to add Intercom's domains to the following directives:

  • connect-src: For core functionalities.

  • img-src: For images and attachments.

  • media-src: For media resources.

The domains to add are *.intercomcdn.com and *.intercom.io. For the most up-to-date domain list, always consult Intercom's official documentation.

2. Revise security headers

Overly restrictive headers like X-Frame-Options or CSP frame-ancestors settings can also impact Intercom’s functionality. Review these settings and adjust them as needed.

3. Check network settings

Ensure your network or firewall settings allow outbound connections to Intercom's servers. You may need to ask your IT team to whitelist the necessary domains.

4. Test your changes

After updating your CSP configuration:

  • Reload the affected pages on your site and check if the Digital Assistant features now function correctly.

  • Monitor the developer console to ensure no new CSP violations appear.

  • Perform a hard refresh in your browser to clear cached assets after making changes to the CSP.

Did this answer your question?