SAP Knowledge Base Article - Preview

3290599 - Content security policy error in the console log when running the Fiori Launchpad

Symptom

In CHROME Console You see the following error:
"Unhandled Promise Rejection: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' <domain>". 
  promiseEmptyOnRejected — abap.js:50:17148 
  promiseReactionJob 3flp:31"



Read more...

Environment

  • SAPUI5
  • Fiori Launchpad

Product

SAP Fiori all versions ; UI5 automation framework all versions

Keywords

CSP, Content Security Policy, unsafe-eval , KBA , CA-UI5-COR , Core and Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.