CSP and security headers / Troubleshooting
Troubleshoot CSP reporting and enforcement
- No reports: inspect the actual page response, policy mode, and full report URI. Confirm the site's key and that the browser encountered a reportable condition.
- A form or widget stopped working: inspect browser CSP errors and compare with the policy change. Restore the known-good policy or adjust it only after confirming the required source.
- Many unfamiliar sources: investigate extensions, injected scripts, and repeated page context before changing the allowlist.
- Conflicting policies: check whether the host, CDN, application, and plugin are each writing headers. Agree on a policy owner.
- Hosted installation is stale: check its token-specific snippet, reachability, and recorded install health in the site's CSP settings.
Keep recent reports and response evidence when asking for help, but redact credentials and private page data.