C# S3 Api Delete Issues



Hi, I am having some issues using the S3 API on DreamObjects.

I normally use the DeleteObjects command but I get a MethodNotAllowed error.

I then tried Deleting individual objects and got a Forbidden, AccessDenied error.

The code is self explanatory but:
DeleteObjectRequest dorr = new DeleteObjectRequest();
dorr.BucketName = appSettings[“Bucket”];
dorr.Key = szKey.Key;

Any ideas on what I missed?
PS. the code works on S3 buckets.


Are you able to connect to DreamObjects at all and at least get a list of buckets on your account? An AccessDenied error, first and foremost, points to configuration of the proper endpoint, access key and secret key.