添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Welcome to Support!

Search for an answer or ask a question of the zone or Customer Support.

Need help? Dismiss Show All Questions sorted by Date Posted

Show

sorted by

Luke Vang 52 Luke Vang 52

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.

Nagendra Nagendra (Salesforce Developers)
Hi Luke,

Sorry for this issue you are encountering.

May I suggest you please check with below post from the forums community which might help. 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