Title: Error from storage.delete( bucket, blob) · Issue #175 · googleapis/google-cloud-java · GitHub
Open Graph Title: Error from storage.delete( bucket, blob) · Issue #175 · googleapis/google-cloud-java
X Title: Error from storage.delete( bucket, blob) · Issue #175 · googleapis/google-cloud-java
Description: I'm calling: storage.delete( "my-bucket", "6c7a1892629811e5b40202420adc0211.itm" ) "my-bucket" exists in zone EU and the blob "6c7a1892629811e5b40202420adc0211.itm" exists in this bucket. I can delete this blob using the Developers Conso...
Open Graph Description: I'm calling: storage.delete( "my-bucket", "6c7a1892629811e5b40202420adc0211.itm" ) "my-bucket" exists in zone EU and the blob "6c7a1892629811e5b40202420adc0211.itm" exists in this bucket. I can del...
X Description: I'm calling: storage.delete( "my-bucket", "6c7a1892629811e5b40202420adc0211.itm" ) "my-bucket" exists in zone EU and the blob "6c7a1892629811e5b40202420adc021...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/175
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error from storage.delete( bucket, blob)","articleBody":"I'm calling:\n\n``` java\nstorage.delete( \"my-bucket\", \"6c7a1892629811e5b40202420adc0211.itm\" )\n```\n\n\"my-bucket\" exists in zone EU and the blob \"6c7a1892629811e5b40202420adc0211.itm\" exists in this bucket.\nI can delete this blob using the Developers Console.\nMyClass.java created the bucket and blob shortly before the delete() was called.\n\nAm I doing something wrong?\n\n```\nCaused by: com.google.gcloud.RetryHelper$NonRetriableException: com.google.gcloud.storage.StorageException: \n at com.google.gcloud.RetryHelper.doRetry(RetryHelper.java:193)\n at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:247)\n at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:237)\n at com.google.gcloud.storage.StorageImpl.delete(StorageImpl.java:313)\n at com.mycode(MyClass.java:150)\\n\"}\n ... 5 more\nCaused by: com.google.gcloud.storage.StorageException: \\\n at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc.java:104)\n at com.google.gcloud.spi.DefaultStorageRpc.translate(DefaultStorageRpc.java:93)\n at com.google.gcloud.spi.DefaultStorageRpc.delete(DefaultStorageRpc.java:270)\n at com.google.gcloud.storage.StorageImpl$13.call(StorageImpl.java:316)\\\n at com.google.gcloud.storage.StorageImpl$13.call(StorageImpl.java:313)\n at com.google.gcloud.RetryHelper.doRetry(RetryHelper.java:181)\n ... 9 more\\n\"}\nCaused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 412 \n\n \\\"code\\\" : 412,\n \" \\\"errors\\\" : [ {\n \\\"domain\\\" : \\\"global\\\",\n \\\"location\\\" : \\\"If-Match\\\",\n \\\"locationType\\\" : \\\"header\\\",\n \\\"message\\\" : \\\"\\\",\n \\\"reason\\\" : \\\"conditionNotMet\\\"\n } ],\n \\\"message\\\" : \\\"\\\"\n\n at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)\n at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)\n at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)\n at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)\n at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1056)\n at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)\n at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)\n at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)\n at com.google.gcloud.spi.DefaultStorageRpc.delete(DefaultStorageRpc.java:267)\n .. 12 more\n```\n","author":{"url":"https://github.com/simon-temple","@type":"Person","name":"simon-temple"},"datePublished":"2015-09-24T09:25:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/175/google-cloud-java/issues/175"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eaaaa6a2-a530-80c1-a60d-7e1cefdda4ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE28:28A9BA:58600E:7D4C27:6A4D22C0 |
| html-safe-nonce | 313cb8ac57497e26e55a3bd52b3a060e62c1b9a89205ba8f354b74ab56ea19fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTI4OjI4QTlCQTo1ODYwMEU6N0Q0QzI3OjZBNEQyMkMwIiwidmlzaXRvcl9pZCI6IjE5MzE4OTc4NjgzMTEwMjY1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fc4fd0d797e068064caf1e5c873603f254d0bcad7f2990d258f623a7cbc3e46e |
| hovercard-subject-tag | issue:108091404 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/175/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a37748186643bd4c2bef7f53384ce5ed8de1a075870a63574967cfbfc8fb0047/googleapis/google-cloud-java/issues/175 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a37748186643bd4c2bef7f53384ce5ed8de1a075870a63574967cfbfc8fb0047/googleapis/google-cloud-java/issues/175 |
| og:image:alt | I'm calling: storage.delete( "my-bucket", "6c7a1892629811e5b40202420adc0211.itm" ) "my-bucket" exists in zone EU and the blob "6c7a1892629811e5b40202420adc0211.itm" exists in this bucket. I can del... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | simon-temple |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width