Skip to content

upload file throw Not Found error #1013

Description

@leibale
fs.createWriteStream('path').pipe(bucket.file('path').createWriteStream({
  resumable: true
})).on('error', function (err) {
  // err = Not Found
});

when i send resumable: true or without resumable (the default is true) i get Not Found error on most of the files.
and when i send resumable: false i get the error less times, but still get it.

Activity

  1. stephenplusplus commented on Dec 10, 2015

    @stephenplusplus
    Contributor

    I'm confused where the "Not Found" is coming from. If you're writing to a file, it's not required to exist, so it must be some other API call that's going off. Can you give us the log of the error?

    on('error', function(err) {
      err.response.toJSON(); // < this
    })
  2. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: storageIssues related to the Cloud Storage API.
    on Dec 10, 2015
  3. stephenplusplus commented on Dec 21, 2015

    @stephenplusplus
    Contributor

    @leibale still happening?

  4. leibale commented on Dec 21, 2015

    @leibale
    ContributorAuthor

    I will check for you as sun as possible

  5. leibale commented on Dec 21, 2015

    @leibale
    ContributorAuthor

    I will check for you asap

  6. leibale commented on Dec 27, 2015

    @leibale
    ContributorAuthor

    @stephenplusplus you can close

  7. stephenplusplus commented on Dec 27, 2015

    @stephenplusplus
    Contributor

    Glad it's resolved!

  8. added a commit that references this issue on Feb 5, 2026
  9. added a commit that references this issue on Feb 17, 2026
  10. added a commit that references this issue on Feb 24, 2026
  11. added a commit that references this issue on Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions