# How to fix problem with CSP

**URL:** https://meta.discourse.org/t/how-to-fix-problem-with-csp/220523
**Category:** Support
**Created:** [March 9, 2022, 3:42pm UTC](https://meta.discourse.org/t/how-to-fix-problem-with-csp/220523 "2022-03-09T15:42:06Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 9, 2022, 4:30pm UTC](https://meta.discourse.org/t/how-to-fix-problem-with-csp/220523/2 "2022-03-09T16:30:27Z")

</div>

It’s not my forte, but I’ve had a search and you may need to rewrite the inline script you’re trying to use:

> [@Refuse to reload script (CORS) with my settings](https://meta.discourse.org/t/refuse-to-reload-script-cors-with-my-settings/177864/2):
>
> That error means you are trying to run a script inline, which is disallowed by your current CSP configuration.
> 
> You have two options:
> 
> 1. Fix the script that is trying to execute the inline. (recommended)
> 2. Disable CSP (not recommended)

---

_[View the full topic](https://meta.discourse.org/t/how-to-fix-problem-with-csp/220523)._
