question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error : Not Found google cloud storage

See original GitHub issue

From @c00kie17 on August 28, 2017 15:35

OS: Windows10 
Node.js version: 8.4.0
npm version:5.3.0
google-cloud-node  #version:1.2.1
add_file:function(path){
    bucket.upload(path, function(err, file) {
        if (err) {
          console.error(err)
        }
        console.log(file)
    });
  },

thats my function to upload a file the file is a 34 mb .dem protobuf file the error trace im getting is.

Error: Not Found
    at Request._callback (C:\Users\anshu\Desktop\statseeker\node_modules\gcs-resumable-upload\index.js:283:25)
    at Request.self.callback (C:\Users\anshu\Desktop\statseeker\node_modules\request\request.js:188:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request.<anonymous> (C:\Users\anshu\Desktop\statseeker\node_modules\request\request.js:1171:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage.<anonymous> (C:\Users\anshu\Desktop\statseeker\node_modules\request\request.js:1091:12)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1059:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Copied from original issue: GoogleCloudPlatform/google-cloud-node#2573

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
YGKtechcommented, Sep 27, 2017

I encountered this issue while attempting to use the firebase-admin node module’s storage bucket. I’m not sure if that’s the case with other’s who’ve reported this issue, but I noticed that firebase-admin specifies version 1.2.1 of @google-cloud/storage in it’s dependencies.

When I installed the current version (1.3.0) and connected directly to the storage bucket everything worked perfectly.

This may not be the source of the problem for everyone, but it seems probably that at least a few users will encounter this issue while using the firebase module.

0reactions
stephenpluspluscommented, Sep 28, 2017

Thanks for the info! This is likely the same problem that we solved after the investigation here: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2604

It’s already available to new installations of @google-cloud/storage. Considering that, I’m going to close this issue. Let us know if any errors continue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting | Cloud Storage
This page describes troubleshooting methods for common errors you may encounter while using Cloud Storage. See the Google Cloud Status Dashboard for ...
Read more >
Error : Not Found google cloud storage #2573 - GitHub
dem protobuf file the error trace im getting is. Error: Not Found at Request._callback (C:\Users\anshu\Desktop\statseeker\node_modules\gcs- ...
Read more >
Google cloudstorage returns 404 Not Found when trying to ...
I am trying to delete a file (video) from Google Cloud Storage via the cloudstorage api but although the file exists I'm getting...
Read more >
Dataset not found error while loading data from cloud storage ...
This error generally occurs when your cloud storage bucket and bigquery dataset locations are different. For example: If your storage ...
Read more >
Resolve errors | Google Drive
Resolve a 403 error: Daily limit exceeded ... This error appears when the application's owner has set a quota limit to cap usage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found