Skip to content

aws: [ERROR]: argument of type 'NoneType' is not a container or iterable #10161

@udf2457

Description

@udf2457

Describe the bug

I am trying to use aws against Hetzner S3

aws --profile=hetz-fsn1 s3 ls works fine, it lists all buckets.

but then

aws --profile=hetz-fsn1 s3 ls s3://my-bucket-name returns:

aws: [ERROR]: argument of type 'NoneType' is not a container or iterable

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

List contents of buckets

Current Behavior

Errors out with " aws: [ERROR]: argument of type 'NoneType' is not a container or iterable"

Reproduction Steps

  1. Create bucket on Hetzner
  2. Try aws --profile=hetz-fsn1 s3 ls, note bucket is listed
  3. Try ``aws --profile=hetz-fsn1 s3 ls s3://bucket-name`, note error

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.34.16 Python/3.14.3 Darwin/25.4.0 exe/arm64

Environment details (OS name and version, etc.)

macOS 26.4

Metadata

Metadata

Labels

bugThis issue is a bug.p2This is a standard priority issues3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions