Textract / Client / exceptions / InvalidS3ObjectException
InvalidS3ObjectException¶
- class Textract.Client.exceptions.InvalidS3ObjectException¶
- Amazon Textract is unable to access the S3 object that’s specified in the request. for more information, Configure Access to Amazon S3 For troubleshooting information, see Troubleshooting Amazon S3 - Example- try: ... except client.exceptions.InvalidS3ObjectException 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- {}- Structure- (dict) – - Amazon Textract is unable to access the S3 object that’s specified in the request. for more information, Configure Access to Amazon S3 For troubleshooting information, see Troubleshooting Amazon S3 - 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.