Boto3: Issue Copying metadata for large files from one S3 bucket to other s3 bucket #3378
Labels
bug
This issue is a confirmed bug.
response-requested
Waiting on additional information or feedback.
s3
Describe the bug
import boto3
s3 = boto3.resource('s3')
source_bucket = {'Bucket':'s3bucket1','Key':'app/a.xml'}
s3.meta.client.copy(source_bucket,'targets3bucket','app/a.xml')
Metadata is not copied when file size is 10 MB or greater. When Copying object from one s3 bucket to other s3 bucket, file copy is successful but metadata is missing when file size is greater than 10 MB.
Expected Behavior
s3 metadata not copied to destination for large files
Current Behavior
S3 object is copied to destination bucket, but metadata is not .
Reproduction Steps
Upload file to source s3 bucket and add metadata.
use below code and verify destination bucket, if file is copied with metadata.
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.24.44
Environment details (OS name and version, etc.)
AWS Lambda, Python 3.7
The text was updated successfully, but these errors were encountered: