Athena Query Generic User Error

0

I am trying to query data in my own account and am getting the following error:

GENERIC_USER_ERROR: Cannot execute query. User in account <account id> is not authorized for any columns in table <table_name>

Has anyone experienced this before, or otherwise have any insight as to why this may be occurring? It is a lake formation governed table

AWS
已提問 2 年前檢視次數 274 次
1 個回答
0

One possible reason could be Lake formation permissions that are needed for user for the database table level. Try the below steps and let me know if you still face any issues:

STEP 1: Table access

To grant access, please Go to "AWS Lake Formation" > "Data Lake permissions"

Choose the IAM users and roles from drop down

Choose Named data catalog resources

Choose Table(s) and provide "Select" & "Describe" access (or more as needed)

If it is not resolved, proceed to Step 2

STEP 2: Database access

To grant access, please Go to "AWS Lake Formation" > "Data Lake permissions"

Choose the IAM users and roles from drop down

Choose Named data catalog resources

Choose database (dont choose tables) and provide "Describe" access (or more as needed)

profile pictureAWS
已回答 2 年前
  • I'm having the exact same issue (Lake Formation managed Governed Table, generic user error, etc). Not only using the admin account with access to everything, but I specifically added the permissions as described on this answer, to no avail. Could there be something else that is causing this?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南