Skip to content

s3_20060301 listObjectsV2 returns empty body #15

Description

@refacktor

I am now using version 2626.5.2 with the latest fixes.

Trying to list the contents of an S3 bucket.

After looking at the example in the README and looking at the code in s3_20060301.nim, this was my best attempt:

import atoz/s3_20060301

when isMainModule:
  let rs = listObjectsV2.call(Bucket = "...actual-bucket-name...");
  echo rs.body

Output:

(blank line)

This probably is user error. I don't know enough Nim yet to be able to debug further. e.g. echo rs.headers doesn't compile.

Any tips on where to look next, would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions