Skip to content

Conversation

@Mytherin
Copy link
Contributor

This PR improves the errors when S3 authentication fails.

For example:

select filename from read_parquet('s3://test-s3-lineitem/lineitem_sf10_partitioned_shipdate/l_shipdate=1992-01-02/data_0.parquet');
HTTP Error:
HTTP GET error reading 'https://test-s3-lineitem.s3.amazonaws.com/lineitem_sf10_partitioned_shipdate/l_shipdate%3D1992-01-02/data_0.parquet' in region 'us-east-1' (HTTP 403 Forbidden)

Authentication Failure - this is usually caused by invalid or missing credentials.
* No credentials are provided.
* See https://duckdb.org/docs/stable/extensions/httpfs/s3api.html
D select filename from read_parquet('s3://test-s3-lineitem/**');
HTTP Error:
HTTP GET error reading 's3://test-s3-lineitem/?encoding-type=url&list-type=2&prefix=' in region 'us-east-1' (HTTP 403 Forbidden)

Authentication Failure - this is usually caused by invalid or missing credentials.
* No credentials are provided.
* See https://duckdb.org/docs/stable/extensions/httpfs/s3api.html

@Mytherin
Copy link
Contributor Author

Implemented in #50

@Mytherin Mytherin closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant