WorkspacesInstances / Client / exceptions / ValidationException
ValidationException¶
- class WorkspacesInstances.Client.exceptions.ValidationException¶
Indicates invalid input parameters in the request.
Example
try: ... except client.exceptions.ValidationException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'Message': 'string', 'Reason': 'UNKNOWN_OPERATION'|'UNSUPPORTED_OPERATION'|'CANNOT_PARSE'|'FIELD_VALIDATION_FAILED'|'DEPENDENCY_FAILURE'|'OTHER', 'FieldList': [ { 'Name': 'string', 'Reason': 'string', 'Message': 'string' }, ], 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Indicates invalid input parameters in the request.
Message (string) –
Overall description of validation failures.
Reason (string) –
Specific reason for the validation failure.
FieldList (list) –
List of fields that failed validation.
(dict) –
Represents a validation error field in an API request.
Name (string) –
Name of the field that failed validation.
Reason (string) –
Reason for the validation failure.
Message (string) –
Detailed error message describing the validation issue.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.