Skip to content

aws s3 cp exit code 255: botocore.awsrequest.AWSRequest object at #8988

Closed
@fishcharlie

Description

@fishcharlie

Describe the bug

When running aws s3 cp code.zip s3://my-bucket/folder/code.zip, it exits with code 255 and prints the following:

<botocore.awsrequest.AWSRequest object at 0x7f367a0c9af0>

Regression Issue

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

Expected Behavior

It to successfully upload the file.

Current Behavior

Fails with exit code 255 and prints:

<botocore.awsrequest.AWSRequest object at 0x7f367a0c9af0>

Reproduction Steps

Honestly I have no idea what is even going wrong. aws cli doesn't even print a good error messages. So I have no idea how to even reproduce this or what is even going wrong...

Would be more than happy to help debug further but need some guidance here since the error message is so poor.

Possible Solution

No response

Additional Information/Context

runner@fv-az1496-34:~/work/EchoServer/EchoServer$ ls -al
total 613764
drwxr-xr-x  10 runner docker      4096 Oct 18 04:06 .
drwxr-xr-x   3 runner docker      4096 Oct 18 04:05 ..
-rw-r--r--   1 runner docker 628228556 Oct 18 04:06 code.zip


runner@fv-az1496-34:~/work/Server/Server$ aws --version
aws-cli/2.18.0 Python/3.12.6 Linux/6.5.0-1025-azure exe/x86_64.ubuntu.22

CLI version used

2.18.0

Environment details (OS name and version, etc.)

Python/3.12.6 Linux/6.5.0-1025-azure exe/x86_64.ubuntu.22

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p3This is a minor priority issues3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions