Error underlying dataset can not be viewed from this namespace

I have created a namespace and added some users,
Created the SessionEmbedUrl using aws cli
However I am getting underlying dataset can not be viewed from this namespace error for existing dataset.

I have updated the dataset permission as well

hi @yogendrasgautam - Can you please verify whether the users are exist in that namespace or not . You can use list user boto3 api and pass your name space.

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/list_users.html

Then you need to update the data set permission and add the users in that permission by giving data set id and principal of the user.

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/update_data_set_permissions.html

Please share the error screenshot to understand more details on this.

@Max @Raji_Sivasubramaniam @drpeter for their expert advise as well.

Regards - Sanjeeb