Closed
Description
I am experimenting a bit with the PR #221 and although it works nicely with AWS S3, it does not seem to work with DO spaces. There are two issues.
- When you use
Read/Write/Delete
bucket scoped access key, the s3 adapter fails withAccessDenied
error when trying to create already existing bucket. We always try tocreateBucket
before performing any other operation. - When using
FullAccess
access key, the s3 adapter fails withBucketAlreadyExists
error. If the bucket does not exist, first save will create it, and any other use of the adapter will fail withBucketAlreadyExists
error.
Looks like there is a difference in how AWS S3 JS SDK v2 and v3 handled the response of createBucket
API call, although I could not find (yet) the offending line of code to confirm it.
In any way, PR #221 does not seem to work with DO Spaces as is.