AgreementService / Client / exceptions / ValidationException
ValidationException¶
- class AgreementService.Client.exceptions.ValidationException¶
- The input fails to satisfy the constraints specified by the service. - Example- try: ... except client.exceptions.ValidationException as e: print(e.response) - response¶
- The parsed error response. All exceptions have a top level - Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.- Syntax- { 'fields': [ { 'message': 'string', 'name': 'string' }, ], 'message': 'string', 'reason': 'INVALID_AGREEMENT_ID'|'MISSING_AGREEMENT_ID'|'INVALID_CATALOG'|'INVALID_FILTER_NAME'|'INVALID_FILTER_VALUES'|'INVALID_SORT_BY'|'INVALID_SORT_ORDER'|'INVALID_NEXT_TOKEN'|'INVALID_MAX_RESULTS'|'UNSUPPORTED_FILTERS'|'OTHER', 'requestId': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } } - Structure- (dict) – - The input fails to satisfy the constraints specified by the service. - fields (list) – - The fields associated with the error. - (dict) – - The input fails to satisfy the constraints specified by the service. - message (string) – - See applicable actions. 
- name (string) – - The name of the field associated with the error. 
 
 
- message (string) – 
- reason (string) – - The reason associated with the error. 
- requestId (string) – - The unique identifier associated with the error. 
- 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.