mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-27 06:35:54 +03:00
[GH-ISSUE #1651] Updating a bucket returns 404 #211
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#211
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 @airzym on GitHub (Jun 21, 2024).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1651
I'm trying to create a bucket with versioning enabled.
I've followed Google Cloud documentation here, with the addition of creating the bucket, my code looks like the following:
I'm running into a problem where the client throws when calling
UpdateBucketAsync()with the following exception:The service storage has thrown an exception. HttpStatusCode is NotFound. Not Foundwhich corresponds to thefake-gcs-servercontainer logs:Theres nothing I can spot in the docs that suggest I'm missing something here.
@christophergunn commented on GitHub (Jun 21, 2024):
It looks like your failing request is a
PUTrequest to update a bucket. I'm no GoLang expert, but it seems that the code doesn't supportPUTrequests on that route:server.go