InvalidArgument when calling PutObject operation #4401
Labels
bug
This issue is a confirmed bug.
p2
This is a standard priority issue
response-requested
Waiting on additional information or feedback.
s3
Describe the bug
Since 1.36 release, we're seeing upload errors with S3 client using
upload_file
method.boto3.exceptions.S3UploadFailedError: Failed to upload test.txt to s3_bucket/test.txt: An error occurred (InvalidArgument) when calling the PutObject operation: Invalid Argument.
Regression Issue
Expected Behavior
upload_file
success without error.Current Behavior
upload_file
fails withboto3.exceptions.S3UploadFailedError
exception.boto3.exceptions.S3UploadFailedError: Failed to upload test.txt to s3_bucket/test.txt: An error occurred (InvalidArgument) when calling the PutObject operation: Invalid Argument.
Debug logs
Reproduction Steps
With python 3.9.13 and
boto3==1.36.1
(same error withboto3==1.36.0
)Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.36.1
Environment details (OS name and version, etc.)
Windows 11 22H2 ; python 3.9.13
The text was updated successfully, but these errors were encountered: