Skip to content

ValidationException

Error Class

ValidationException dataclass

Bases: ServiceError, _SerdeShape

The input fails to satisfy the constraints specified by the service.

Attributes

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

The fields that caused the validation error.

reason instance-attribute
reason: str

The reason the request failed validation.

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.