Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config is having no effect #22

Open
xitude opened this issue Nov 16, 2022 · 0 comments
Open

Config is having no effect #22

xitude opened this issue Nov 16, 2022 · 0 comments
Labels
question Further information is requested

Comments

@xitude
Copy link

xitude commented Nov 16, 2022

How could we help you?

Hello guys, I followed the README.md and added all the required bits to the .env, checked the config file, and made sure it correctly populated but when running the command I'm met with this error below;

This looks like its ignoring my env variables and using a default arn arn:aws:iam::728902230904:user/s3

 Error executing "DetectLabels" on "https://rekognition.eu-west-2.amazonaws.com"; AWS HTTP error: Client error: `POST https://rekognition.eu-west-2.amazonaws.com` resulted in a `400 Bad Request` response:
{"__type":"AccessDeniedException","Message":"User: arn:aws:iam::728902230904:user/s3 is not authorized to perform: rekog (truncated...)
 AccessDeniedException (client): User: arn:aws:iam::728902230904:user/s3 is not authorized to perform: rekognition:DetectLabels because no identity-based policy allows the rekognition:DetectLabels action - {"__type":"AccessDeniedException","Message":"User: arn:aws:iam::728902230904:user/s3 is not authorized to perform: rekognition:DetectLabels because no identity-based policy allows the rekognition:DetectLabels action"}

Any idea how I resolve this or if I'm being stupid?

@xitude xitude added the question Further information is requested label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant