Skip to content

CloudFront  >  Errors  >  TooLongCSPInResponseHeadersPolicy

TooLongCSPInResponseHeadersPolicy

Error Class

TooLongCSPInResponseHeadersPolicy dataclass

Bases: ServiceError, _SerdeShape

The length of the Content-Security-Policy header value in the response headers policy exceeds the maximum.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.