Skip to content Skip to sidebar Skip to footer

ListCollections Is Not Listing Correct Collections In Android App - AWS Rekognition

Ok so I have been stuck here for about more than a week now and I know its some dumb mistake. Just can't figure it out. I am working on a project that is available of two platforms

Solution 1:

So like most of the time, I saved myself. Turns out when we pass cognito credentials to Rekognition client in Android, it does not use the same region as that of Cognito. So we have to explicitly set region of Rekognition client as well. Like this:

mAmazonRekognitionClient.setRegion(Region.getRegion(Regions.US_EAST_2));

And that's all.


Post a Comment for "ListCollections Is Not Listing Correct Collections In Android App - AWS Rekognition"