CSP Errors
-
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src *.facebook.com *.fbcdn.net *.facebook.net 127.0.0.1:* blob: data: 'self' 'inline-speculation-rules' 'nonce-f6KHVZeU' 'wasm-unsafe-eval' https://*.google-analytics.com *.google.com". Either the 'unsafe-inline' keyword, a hash ('sha256-aU1b2MDj4Gvp8L6QSXvoKx7dCbT0M6OWmvgRx2IAhUI='), or a nonce ('nonce-...') is required to enable inline execution.I’m getting the above error for lwi_ads_insights.php?app_id=221646389321681&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconne…
and the same error for lwi_ads_creation.php?app_id=221646389321681&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconne…
It appears to be reading a CSP policy that comes from Facebook because the one it shows in the example is not mine. (I put ‘unsafe-inline’ in my script-src and I still get this error; plus I don’t use any wildcards in my CSP).
Any suggestions?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘CSP Errors’ is closed to new replies.