Skip to content

Please Specify Missing Keys During 'Not Found' Error #1246

Closed
@knoam

Description

@knoam

Describe the bug

Calling read_csv on multiple keys, when certain keys don't exist on S3 gives a 404 error but does not specify which key was not found

wr.s3.read_csv([f's3://{bucket}/{key}' for key in s3_keys])

Could this be added?

Here's the error: ClientError: An error occurred (404) when calling the HeadObject operation: Not Found

How to Reproduce

wr.s3.read_csv([f's3://{bucket}/{key}' for key in s3_keys])

Where one of the keys is not available on S3.

Expected behavior

Ideally, the error message would specify which keys are missing.

Your project

No response

Screenshots

No response

OS

Linux

Python version

3.6.13

AWS DataWrangler version

2.14.0

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions