-
Notifications
You must be signed in to change notification settings - Fork 94
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
Error: The 'cache' field on 'RequestInitializerDict' is not implemented. #1407
Comments
Also running into this... cache setting is not implemented in Cloudflare workers. |
Same, cloudflare workerd runtime. Had to downgrade to "@aws-sdk/client-s3": "3.645.0",
"@aws-sdk/s3-request-presigner": "3.645.0", |
I believe the error is here: https://github.com/smithy-lang/smithy-typescript/blob/main/packages/fetch-http-handler/src/fetch-http-handler.ts#L115 This is the breaking commit: cf9257e |
We will accept the patch once approved, but until then there is a workaround posted in the linked issue const client = new SDKClient({
requestHandler: {
// Cloudflare doesn't support the cache option, so we remove it.
requestInit: () => ({
cache: undefined,
}),
},
}); |
confirmed fixed for me with latest aws client s3 + v3.2.8 of fetch-http-handler |
Started seeing this error when using AWS S3 SDK to GetObject in a Cloudflare Pages App, which runs on workerd:
I will attempt a downgrade. I may try a standalone app to share.
Update pinning to 3.2.5 resolves the error.
The text was updated successfully, but these errors were encountered: