Skip to content

Config is having no effect #22

@xitude

Description

@xitude

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions