GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Urgent: The specified key does not exist · Issue #1037 · googleapis/google-cloud-node

Urgent: The specified key does not exist #1037

New issue
Copy link
New issue
Copy link
Closed
Closed
Urgent: The specified key does not exist#1037
Copy link
Assignees
stephenplusplus
Labels
api: storageIssues related to the Cloud Storage API.

Description

@wahengchang
wahengchang
opened on Dec 22, 2015
Issue body actions

What I do is upload file to bucket, and make public link.
it work fine when I run my local nodejs host, upload succesed, make public link and able to download, however when I deploy to my nodejs hosting (Leancloud, something like Heroku) the error message was showed.

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
</Error>

I am sure that the json file is in the root of the folder, and the "storage" is set.

var storage = gcloud.storage({
  keyFilename:  
  projectId: 
});

it works fine in local nodejs host http://localhost:3000/#/upload but not http://mywebsite/#/upload

and formidable is used to do the file handling

Activity

  1. stephenplusplus commented on Dec 22, 2015

    @stephenplusplus
    stephenplusplus
    on Dec 22, 2015
    Contributor
    More actions

    Can you show the code you're using and point out which part returns the error?

  2. stephenplusplus
    added
    api: storageIssues related to the Cloud Storage API.
    on Dec 22, 2015
  3. stephenplusplus commented on Dec 22, 2015

    @stephenplusplus
    stephenplusplus
    on Dec 22, 2015
    Contributor
    More actions

    Browse some of these results for the error code and see if any strike some ideas: https://www.google.com/search?q=nosuchkey+google

    It basically means the filename you're trying to download doesn't exist, so I'm wondering if it's an issue of escaping any special characters in the file name. Our library handles this already, though. And the fact it works locally but not when deployed doesn't give me any clarity on the issue either.

    My only thought without seeing your code is maybe you're providing an already URI-escaped filename to this library and we are re-escaping it.

  4. wahengchang commented on Dec 25, 2015

    @wahengchang
    wahengchang
    on Dec 25, 2015
    Author
    More actions

    hi, stephen, thanks for your reply, my problem is solved.

    my project is hosted on "Leancloud", for some reason the service_key.json was not deployed and there is not error msg was showed, so I through it was a problem of the API. You are right the file is not either uploaded of makepublic.

    Now, I have moved the project to Heroku, another nodejs hosting and it run well.

  5. stephenplusplus commented on Dec 29, 2015

    @stephenplusplus
    stephenplusplus
    on Dec 29, 2015
    Contributor
    More actions

    Oh, interesting. Glad it's resolved!

  6. stephenplusplus
    closed this as completedon Dec 29, 2015
  7. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  8. sofisl
    added a commit that references this issue on Jan 17, 2023

    fix: better support for fallback mode (#1037)

    00a6ef7
  9. miguelvelezsa
    added 2 commits that reference this issue on Jul 23, 2025

    feat: add enum unit test (#1037)

    c577693

    chore: release 2.17.0 (#1039)

    14ada34
  10. sofisl
    added a commit that references this issue on Feb 25, 2026

    chore: release 4.3.0 (#1037)

    9ee48bc
  11. GautamSharda
    added 2 commits that reference this issue on Mar 5, 2026

    chore(deps): remove snakecase-keys dependency (#1038)

    b1db500

    build: add config .gitattributes (#1037)

    a9d1d4f
  12. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    chore: release 4.3.0 (googleapis#1037)

    33cb3bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

api: storageIssues related to the Cloud Storage API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.