FSx / Client / exceptions / InvalidRequest
InvalidRequest¶
- class FSx.Client.exceptions.InvalidRequest¶
The action or operation requested is invalid. Verify that the action is typed correctly.
Example
try: ... except client.exceptions.InvalidRequest 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
{ 'ErrorCode': 'string', 'Message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The action or operation requested is invalid. Verify that the action is typed correctly.
ErrorCode (string) –
An error code indicating that the action or operation requested is invalid.
Message (string) –
A detailed error message.
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.