PSA: AWS S3 SDK compatibility inconsistencies with R2 #10660
hjbugajski
started this conversation in
General
Replies: 2 comments 2 replies
-
You can do the above, or the alternative is to simply add the following to your plugin config:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks so much for this, was going crazy thinking it was me, anyone know if this is because of a recent change to R2, or the S3 package? Checked the R2 changelog and they don't mention it 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you're using
@payloadcms/storage-s3
with Cloudflare R2 and receive the following error when trying to access or create uploads, you'll need to pin the@aws-sdk/client-s3
package to version3.726.1
, as newer versions are incompatible with Cloudflare R2.Beta Was this translation helpful? Give feedback.
All reactions