Permission denied on S3 path

0

(image removed)

Hi, I got the above error when I run the query "select * from mco_bi_data_definition". The table is created with the given file path. What do I need to do to resolve the issue?
Here are the policies in my S3 bucket: (image removed)

Many thanks.

*Edit: Removed Images - Ben G.

AWS
已提问 2 年前510 查看次数
2 回答
0

Did you see this article about athena permissions? There are other articles you may want to read in this same grouping that might help you, too. For example, there are specific athena permissions you are missing.

https://docs.aws.amazon.com/athena/latest/ug/federated-query-iam-access.html

已回答 2 年前
0

Hello, Providing more information about the type of error message you received would help us to find a resolution more quickly. Here are a few possible reasons for the error:

  1. Athena does not have the permissions needed to access your S3 data
  2. The table queried does not exist
  3. The path is incorrect
  4. Your IAM user does not have permissions to use Athena/S3
  5. The bucket policy is incorrect

For more information on Athena permissions: https://docs.aws.amazon.com/athena/latest/ug/federated-query-iam-access.html

Athena troubleshooting guide: https://docs.aws.amazon.com/athena/latest/ug/troubleshooting-athena.html

S3 Permissions Guide: https://docs.aws.amazon.com/athena/latest/ug/s3-permissions.html

已回答 9 个月前
AWS
支持工程师
已审核 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则