No permission when use boto3 to create datasets

I created an IAM user and give all quicksight:* permission to that user.

I can use the credential to successfully call list-data-sets api by boto3

But when comes to create datasets, it show the error : botocore.errorfactory.AccessDeniedException: An error occurred (AccessDeniedException) when calling the CreateDataSet operation: User: arn:*** is not authorized to access this resource

Don’t have a clue about what happened.

The script is actually run through in another aws account.

Hi,

try this.

https://repost.aws/questions/QUzgfZOqU_SJqOdaTlf4mXFg/access-denied-error-when-creating-a-quick-sight-dataset-using-boto

regards,
Naveed Ali

1 Like