You need to sign in to do that
Don't have an account?

CSP Content-Security-Policy issue
Hey,
I am getting an internal server error message and a CSP Content-Security Policy issue wanring, but I'm not loading any sort of inline java script. This is a plain and simple plain lightning component not using any external javascript. I've tried to remove my controllers and helpers but the error is still there even if my component is empty.
An internal server error has occurred
Error ID: 194074567-37762 (827702864)
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-null' chrome-extension: https://sfdc.azureedge.net *.cs25.visual.force.com https://ssl.gstatic.com/accessibility/". Either the 'unsafe-inline' keyword, a hash ('sha256-R9GNuwxgywl6/B01T8tc1l8/gyaet50qijLuAzbSndw='), or a nonce ('nonce-...') is required to enable inline execution.
I am getting an internal server error message and a CSP Content-Security Policy issue wanring, but I'm not loading any sort of inline java script. This is a plain and simple plain lightning component not using any external javascript. I've tried to remove my controllers and helpers but the error is still there even if my component is empty.
An internal server error has occurred
Error ID: 194074567-37762 (827702864)
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-null' chrome-extension: https://sfdc.azureedge.net *.cs25.visual.force.com https://ssl.gstatic.com/accessibility/". Either the 'unsafe-inline' keyword, a hash ('sha256-R9GNuwxgywl6/B01T8tc1l8/gyaet50qijLuAzbSndw='), or a nonce ('nonce-...') is required to enable inline execution.
Sorry for this issue you are encountering.
May I suggest you please check with below post from the forums community which might help.
- https://developer.salesforce.com/forums/?id=9060G000000IBp4QAG
But as you are saying that you are not loading any javascript code in your component may I request you please post the component code so that we can look into it and can help you.Thanks,
Nagendra