Repository navigation
Urgent: The specified key does not exist #1037
Description
Activity
Can you show the code you're using and point out which part returns the error?
- addedapi: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Dec 22, 2015 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.
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.
Oh, interesting. Glad it's resolved!
- added a commit that references this issue
on Jan 17, 2023 - added 2 commits that reference this issue
on Jul 23, 2025 - added a commit that references this issue
on Mar 18, 2026
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.
I am sure that the json file is in the root of the folder, and the "storage" is set.
it works fine in local nodejs host
http://localhost:3000/#/uploadbut nothttp://mywebsite/#/uploadand formidable is used to do the file handling