C4_W4 Capstone Project Part 2: AccessDeniedException

Hi, I am currently working on C4_W4 capstone project part 2. But I face AccessDeniedException problems starting every time I try to start glue job. It seems, that I have no IAM rights to start jobs:

An error occurred (AccessDeniedException) when calling the StartJobRun operation: User: arn:aws:sts::851725541605:assumed-role/voclabs/user4294528=uyacjxyetqgr is not authorized to perform: glue:StartJobRun on resource: arn:aws:glue:us-east-1:851725541605:job/glue_api_users_extract_job because no identity-based policy allows the glue:StartJobRun action

Certainly I have rebooted lab and run setup.sh script and run terraform commands, but got the same error message. Did anyone faced the same issue? How can I fix this?

Hello @nagareboshi

Please, make sure you are using the right job name in the glue command. Wrong job names lead to the error you are getting. If you still can’t get past it, share the command you run that leads to this error.

Hello Amir, thanks for your help. I found my mistake. As you have suggested, it was wrong job name.

i am also facing the same issue for both capstone project 1 and 2

An error occurred (AccessDeniedException) when calling the StartJobRun operation: User: arn:aws:sts::773811463365:assumed-role/voclabs/user4518510=fepccaiqhvkm is not authorized to perform: glue:StartJobRun on resource: arn:aws:glue:us-east-1:773811463365:job/glue_api_users_extract_job because no identity-based policy allows the glue:StartJobRun action

I also noticed assignment is not getting restarted, no resetting of files

How can i resolve this