aws.s3 icon indicating copy to clipboard operation
aws.s3 copied to clipboard

get_bucket_df crashes when S3 Object only has 'Owner' 'ID' (missing 'DisplayName')

Open lorenzgerber opened this issue 5 years ago • 0 comments

get_bucket_df() crashes when the accessed S3 object has e.g. only 'ID' in 'Owner' (no/missing 'DisplayName', which is allowed according AWS API ).

In such a case, the list level 'ID' get's "flattened" away, and the data appears as 'Owner'. This will crash the as.data.frame.s3_bucket function which expects [["Owner"]][["ID"]] and [["Owner"]][["DisplayName"]] to exist.

lorenzgerber avatar Jul 16 '20 09:07 lorenzgerber