mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[GH-ISSUE #1854] Unable to list bucket with alpakka client lib due to missing field(s) #223
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marcuslinke on GitHub (Dec 17, 2024).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1854
I've uploaded some objects into a test bucket with the latest release version v1.50.2 and try to list the test bucket contents via alpakka client lib (https://doc.akka.io/libraries/alpakka/current/google-cloud-storage.html#list-bucket-contents). The lib assumes the following structure for the "acl" field:
but its missing some of these fields like "id" for example in the response and therefore throws an exception. Do I miss something? The official gcs documentation for this object type is here: https://cloud.google.com/storage/docs/json_api/v1/bucketAccessControls#resource-representations
Response from the fake-gcs-server:
@fsouza commented on GitHub (Jan 4, 2025):
Yeah I think we're missing those fields. Marking as a compat issue.
@mdedetrich commented on GitHub (Mar 30, 2025):
Also experiencing this when adding support to fake-gcs-server in the pekko-connectors google cloud storage client
which was meant to be solved in https://github.com/fsouza/fake-gcs-server/issues/758 but I guess the field wasn't universally added in all responses? In this specific case its on creation of buckets.
I created an issue at https://github.com/fsouza/fake-gcs-server/issues/1943