Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Object name encoding #3783

Closed
cchantep opened this issue Feb 6, 2020 · 4 comments
Closed

Storage Object name encoding #3783

cchantep opened this issue Feb 6, 2020 · 4 comments
Assignees
Labels
api: storage Issues related to the Cloud Storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@cchantep
Copy link

cchantep commented Feb 6, 2020

The documentation states that "encoding is typically handled for you by client libraries, such as the Cloud Storage Client Libraries, so you can pass the raw object name to them", but with an object name like Capture d’écran 2018-11-14 à 09.35.49.png (obtained from list from Storage.objects()), operations (such as delete) are refused with a 404 not found error.

{
  "code" : 404,
  "errors" : [ {
    "domain" : "global",
    "message" : "No such object: .../Capture+d’écran+2018-11-14+à+09.35.49.png",
    "reason" : "notFound"
  } ],
  "message" : "No such object: .../Capture+d’écran+2018-11-14+à+09.35.49.png"
}
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Feb 7, 2020
@chingor13 chingor13 added the api: storage Issues related to the Cloud Storage API. label Feb 11, 2020
@chingor13
Copy link
Contributor

Which client library are you trying to use? com.google.cloud:google-cloud-storage or com.google.apis:google-api-services-storage?

@athakor
Copy link
Contributor

athakor commented Feb 12, 2020

@chingor13 same issues #121,#57

@athakor athakor added priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Feb 12, 2020
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Feb 13, 2020
@frankyn
Copy link
Member

frankyn commented Feb 25, 2020

Hi @cchantep, could you try using the latest release of com.google.cloud:google-cloud-storage if this is what you're using? The issue was resolved last week in the latest release.

If it's related to com.google.apis:google-api-services-storage please confirm.

Will close issue if no further follow-up.

@frankyn frankyn added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Feb 25, 2020
@yoshi-automation yoshi-automation removed the 🚨 This issue needs some love. label Feb 25, 2020
@frankyn
Copy link
Member

frankyn commented Feb 26, 2020

Please reopen if the issue persists. Thank you for filing the issue!

@frankyn frankyn closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

6 participants