-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Open
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:r2R2 object storage: https://developers.cloudflare.com/r2R2 object storage: https://developers.cloudflare.com/r2
Description
Existing documentation URL(s)
https://developers.cloudflare.com/r2/examples/aws/aws-sdk-java/
What changes are you suggesting?
Show an example that when performing the putObject call via the Java AWS S3 SDK the S3Configuration must have:
S3Configuration serviceConfiguration = S3Configuration.builder().pathStyleAccessEnabled( true ) .chunkedEncodingEnabled( false ).build();
Otherwise, you get errors like:
software.amazon.awssdk.services.s3.model.S3Exception: The request signature we calculated does not match the signature you provided. Check your secret access key and signing method. (Service: S3, Status Code: 403, Request ID: null)
This may be applicable to other language SDKs also
Additional information
No response
Metadata
Metadata
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:r2R2 object storage: https://developers.cloudflare.com/r2R2 object storage: https://developers.cloudflare.com/r2