Skip to content

InvalidRequestContentException

Error Class

InvalidRequestContentException dataclass

Bases: ServiceError, _SerdeShape

The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.

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.

type class-attribute instance-attribute
type: str | None = ...

The exception type.