C3W1 Error on tuner.fit()

Hello,

I’m having the following error when I try to run the tuner.fit() function in Course 3 Week 1’s exercise:

ClientError: An error occurred (AccessDeniedException) when calling the CreateHyperParameterTuningJob operation: User: arn:aws:sts::043452993931:assumed-role/sagemaker-studio-vpc-firewall-us-east-1-sagemaker-execution-role/SageMaker is not authorized to perform: sagemaker:CreateHyperParameterTuningJob on resource: arn:aws:sagemaker:us-east-1:043452993931:hyper-parameter-tuning-job/pytorch-training-231015-0811 with an explicit deny in a service control policy

Please help

I am also getting this error on that exact same call. It looks to me it has to do with the IAM roles and their permissions with respect to creating a hyperparameter tuning job. Let’s see if someone with controls on these IAM roles can help us.

1 Like

Same error

1 Like

Can someone please help us out?

1 Like

Dear @Brendaoby ,
I think there is some problem with your AWS Identity and Access
Please fix the Policies and permissions in IAM. That will helps you.

Thanks

I don’t have access to the IAM. Could you please tell me the step by step procedure?