Replies: 1 comment
-
Does your role have access to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Calling
default_bucket()
on asagemaker.session.Session
object, when specifying a customdefault_bucket
, raises:ClientError: An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied
when the default bucket already exists
possibly related to #1174
To reproduce
src/sagemaker/session.py
to display the number of keys in the bucket to verify that the intended default bucket is accessed:bucket.creation_date
returnsNone
even when the bucket existsaws s3 ls
is denied, let me know if there is any more info you needExpected behavior
sm_session.default_bucket()
should return the same default bucket name specified when constructing the sagemaker session object.Screenshots or logs

If applicable, add screenshots or logs to help explain your problem.
System information
A description of your system. Please provide:
Beta Was this translation helpful? Give feedback.
All reactions