Skip to content

Unable to create Rekognition project in Console nor cli

0

I have followed the tutorial in https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/cp-create-project.html.

  • In the console, I am unable to see, as mentionned, the points 2, 3 and 4:
  1. In the left pane, choose Use Custom Labels. The Amazon Rekognition Custom Labels landing page is shown.
  2. Choose Get started.
  3. Choose Create Project.
  • In the cli, I am able to make a call to the API and have a prediction on an image in my bucket.
    But if I try aws rekognition create-project --project-name my-project, I get an error "An error occurred (AccessDeniedException) when calling the CreateProject operation".
    I have tried with both root user and a newly created user with permissions "AmazonRekognitionFullAccess" and "AdministratorAccess" and my credentials are set as well.
    I used "aws configure" and correctly passed my access key, secret key and region. I checked it in "/.aws/credentials" and "/.aws/config".
    Don't know what I am missing here, any help would be appreciate.
asked 6 years ago357 views
2 Answers
0
Accepted Answer

Hi,

Thanks for using Rekognition.

You can try turn on debug logging to see more details on the error. Please refer to https://docs.aws.amazon.com/cli/latest/reference/ to see how to turn it on. You can private message me the request id and other debug information.

Which specific region the request is made to? Rekognition Custom Labels is currently available in us-east-1, us-east-2, us-west-2 and eu-west-1.

Thanks

AWS
answered 6 years ago
EXPERT
reviewed a year ago
0

I was in Frankfurt.
In the setup, it says:

For information about the AWS Regions that support Amazon Rekognition Custom Labels, see Amazon Rekognition Endpoints and Quotas.

And when I followed the link I assumed I could pick any of the list which I did but if I would have read better, I would have seen that it is said that

Amazon Rekognition Custom Labels is available in US East (N. Virginia), US East (Ohio), US West (Oregon), and Europe (Ireland).

I should have read more carefully. I can't believe I spent so much time on this.
Also, the error message in the API is unclear as it refers to an AccessDeniedException and put me on the track of a permission issue.
Thx for specifying the region and also for the debug logging parameter, I will definitely use that one in the future.

Edited by: JamesKudo on May 30, 2020 4:18 AM

answered 6 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.