Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Cloudflare R2 prompts STREAMING-AWS4-HMAC-SHA256-PAYLOAD not implemented #643

Closed
gee1k opened this issue Dec 20, 2022 · 2 comments
Closed

Comments

@gee1k
Copy link

gee1k commented Dec 20, 2022

Describe the bug
Upload to Cloudflare R2 using the S3 API PutObjectRequest, prompts STREAMING-AWS4-HMAC-SHA256-PAYLOAD not implemented

To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Setup (please complete the following information):

  • OS: macos
  • Version of soto: 6.3.0
  • Authentication mechanism hard-coded credentials
@gee1k
Copy link
Author

gee1k commented Dec 20, 2022

I found the following related content:

cloudflare/cloudflare-docs#6133

cloudflare/cloudflare-docs#4683

@gee1k
Copy link
Author

gee1k commented Dec 20, 2022

Found the solution, just use AWSPayload.data, you can't use AWSPayload.stream because R2 doesn't support streaming uploads

@gee1k gee1k closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant