Skip to content

ValidationException

Error Class

ValidationException dataclass

Bases: ServiceError, _SerdeShape

The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.

Attributes

fields class-attribute instance-attribute
fields: list[ValidationExceptionField] | None = ...

The input field(s) that failed validation.

reason instance-attribute
reason: str

The reason for the ValidationException.

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.