PutPublicAccessBlock: is not supported and is converted into CreateBucket #407

Closed
opened 2025-12-28 17:37:17 +00:00 by sami · 2 comments
Owner

Originally created by @evgeniiz321 on GitHub (Oct 19, 2023).

Originally assigned to: @smallhive on GitHub.

PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) is not supported and should return Not Implemented status code. Now it returns 400 with some mess in the description, as it is converted to CreateBucket -

2023-10-19T01:58:21.215Z        error   handler/util.go:29      call method     {"status": 400, "request_id": "47540a6e-f301-4a11-b07f-045b4699c973", "method": "CreateBucket", "bucket": "yournamehere-j3zdizveeleezddd-1", "object": "", "description": "could not parse body", "error": "MalformedXML: 400 => The XML you provided was not well-formed or did not validate against our published schema."}

Corresponding GetPublicAccessBlock should return Not Implemented as well

Originally created by @evgeniiz321 on GitHub (Oct 19, 2023). Originally assigned to: @smallhive on GitHub. PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) is not supported and should return Not Implemented status code. Now it returns 400 with some mess in the description, as it is converted to CreateBucket - ``` 2023-10-19T01:58:21.215Z error handler/util.go:29 call method {"status": 400, "request_id": "47540a6e-f301-4a11-b07f-045b4699c973", "method": "CreateBucket", "bucket": "yournamehere-j3zdizveeleezddd-1", "object": "", "description": "could not parse body", "error": "MalformedXML: 400 => The XML you provided was not well-formed or did not validate against our published schema."} ``` Corresponding GetPublicAccessBlock should return Not Implemented as well
sami 2025-12-28 17:37:17 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@smallhive commented on GitHub (Oct 31, 2023):

closed by #887

@smallhive commented on GitHub (Oct 31, 2023): closed by #887
Author
Owner

@evgeniiz321 commented on GitHub (Nov 3, 2023):

Corresponding GetPublicAccessBlock should return Not Implemented as well, currently it returns 200 with 'PublicAccessBlockConfiguration': {}

@evgeniiz321 commented on GitHub (Nov 3, 2023): Corresponding GetPublicAccessBlock should return Not Implemented as well, currently it returns 200 with 'PublicAccessBlockConfiguration': {}
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-s3-gw#407
No description provided.