hi, I'm reading gzip file produced by

hi, I'm reading gzip file produced by pipeline saved into R2 using boto3. But using s3.get_object on that object cause FlexibleChecksumError
4 Replies
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
Tony Leung
Tony LeungOP3d ago
okay let me check I'm using boto3 1.39.6 but files uploaded by s3 SDK and from cloudflare console still can be read normally I've triednone and gzip compression strat and both of them produced unreadable file my current workaround is:
s3_client.get_object(
Bucket=BUCKET_NAME,
Key=key,
ChecksumMode='DISABLED'
)
s3_client.get_object(
Bucket=BUCKET_NAME,
Key=key,
ChecksumMode='DISABLED'
)
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
Tony Leung
Tony LeungOP3d ago
hmm if it could be set globally like this i think it could solve the problem but why does only the file created by pipelines cause the problem but others does not just tried, it does work now

Did you find this page helpful?