itaise opened a new issue, #201: URL: https://github.com/apache/iceberg-python/issues/201
### Apache Iceberg version 0.1.0 ### Please describe the bug 🐞 Hi, I am trying to read a table schema and getting permission denied. This is the code that I use: ``` from pyiceberg.catalog import load_catalog catalog = load_catalog("prod") table = catalog.load_table("stores.checkout") table ``` The code fails when trying to open the metadata file which is in S3 [On this line](https://github.com/apache/iceberg-python/blob/main/pyiceberg/catalog/hive.py#L240) I am getting the following error (I removed the file name and bucket name but they are the correct ones): (<class 'OSError'>, OSError("When reading information for key 'X' in bucket 'X': AWS Error ACCESS_DENIED during HeadObject operation: No response body."), <traceback object at 0x121e05640>) I checked that the credentials have HeadObject permission to this file. The Env variables which I set are: PYICEBERG_CATALOG__DEFAULT__S3__ACCESS_KEY_ID PYICEBERG_CATALOG__DEFAULT__S3__SECRET_ACCESS_KEY PYICEBERG_CATALOG__PROD__URI Can someone please assist? Thanks a lot! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org