You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I create CreateMultipartUploadCommand I got that error
constcommand=newCreateMultipartUploadCommand({ ...params});console.log('command',command);// confirm this is print in consoleconstresponse=awaitr2(c).send(command);// this throw the error which catch in catch block
Regression Issue
Select this option if this issue appears to be a regression.
SDK version number
"@aws-sdk/client-s3": "^3.654.0"
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
cloudflare workers runtime
Reproduction Steps
.
Observed Behavior
Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
Expected Behavior
Don't get that error
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered:
The AWS S3 SDK client is meant to work with S3. We do not offer official support for competing storage offerings like Cloudflare's R2, digital ocean spaces, Min/io and any other S3 clones.
If this exception manifests when interacting with the actual S3 server, please feel free to open a new issue.
Thanks,
Ran~
Sorry to bring up this issue again. I found the solution, so I’ll share it in case someone else encounters the same problem: Cloudflare Workers don't support the cache header, so we just need to add this.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
when I create CreateMultipartUploadCommand I got that error
Regression Issue
SDK version number
"@aws-sdk/client-s3": "^3.654.0"
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
cloudflare workers runtime
Reproduction Steps
.
Observed Behavior
Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
Expected Behavior
Don't get that error
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: