SAP Knowledge Base Article - Preview

3455966 - The Content-Security-Policy directive name contains one or more invalid characters - SAP Commerce Cloud

Symptom

When accessing a Composable or Accelerator Storefront that has a CSP applied to it, in the console of the browser an error similar to below one can be seen which can lead to unexpected behaviors:

  • The Content-Security-Policy directive name '{invalid_character_location}' contains one or more invalid characters. Only ASCII alphanumeric characters or dashes '-' are allowed in directive names.


Read more...

Environment

  • SAP Commerce
  • SAP Commerce Cloud
  • SAP Commerce Cloud, composable storefront

Product

SAP Commerce Cloud all versions ; SAP Commerce Cloud, composable storefront all versions ; SAP Commerce all versions

Keywords

ccv2, hybris, spartacus, spa, response header , KBA , CEC-SCC-PLA-PL , Platform , Known Error

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.