Troubleshooting if downloads fail immediately - CSP Issue
Last updated: March 7, 2025
If you're experiencing download failures in embedded Explo dashboards immediately, but the dashboard loads. This is likely due to Content Security Policy (CSP) settings blocking necessary Explo domains.
Symptoms
Users may see a "Download failed" error message when attempting to download data from embedded dashboards, despite the same dashboard working correctly when accessed directly through the Explo editor.
If you open the browser inspector, and see CSP errors, this is likely the issue.
Resolution
To resolve download failures, ensure your application's Content Security Policy (CSP) includes all required Explo domains.
The following domain must be allowlisted in your CSP that is responsible for exports:
https://rover.data.explo.co
For a complete list of domains that need to be allowlisted for full Explo functionality, please refer to our CSP configuration documentation.
If the export loader spins and fails after a few seconds have passes, this is likely not the correct issue as CSP issues will cause the failure to be immediate