Amazon Rekognition API – S3 MetaData Issue


I am trying to detect faces in an image using AWS Image Rekognition API. But getting the following Error:


Python Code1:

The Object “path/to/image/001.jpg” exists in the AWS S3 Bucket “bucket-name”. And the region Name is also correct.

The Permissions for this object ‘001.jpg’ is: Everyone is granted Open/Download/view Permission.
MetaData for the Object: Content-Type: image/jpeg

Not sure how to debug this. Any Suggestion to resolve this please ?



You appear to be asking the service to fetch the object with a version id of string.


If the bucket is versioning enabled, you can specify the object version.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

Remove 'Version': 'string' from your request parameters, unless you really intend to fetch a specific version of the object from a versioned bucket, in which case, provide the actual version id of the object in question.

Leave a Reply