Skip to content

Error: CSP 0200

Ryan Parman edited this page Jun 14, 2024 · 3 revisions

Overview

[ERROR] directive %s has an invalid value %s [CSP-0200]

For directives which are classified as ancestor expressions, they allow the following types of values:

  1. 'none'
  2. A scheme like https: or wss:
  3. A host like example.com (internationalized domain names are not permitted and must be converted to punycode first)
  4. A keyword like 'self'
  5. A nonce (although this is highly unusual except for <script> or <style> elements)
  6. A sha256 hash of the content (although this is highly unusual except for <script> or <style> elements)

This error message means that the value does not match expected/correct patterns for any of these types.

Directives which may trigger this error

Clone this wiki locally