-
Notifications
You must be signed in to change notification settings - Fork 584
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
Error : Not Found google cloud storage #2573
Comments
Hello, @c00kie17, can you fill in the details about your environment?
Thanks! |
Note: The OP edited it into his original post. (I almost missed that.) With #2582, this is the second report in three days that are npm 5.3.0. Different operating systems, but consistently Node 8.4 and npm 5.3.0. |
@c00kie17 would you mind going into the file, |
{ method: 'POST',
uri: 'https://www.googleapis.com/upload/storage/v1/b/my_project_id/events/new_player/o',
qs:
{ name: 'file.csv',
uploadType: 'resumable',
predefinedAcl: 'publicRead' },
json: { contentType: 'image/jpeg', metadata: { custom: 'metadata' } },
headers:
{ 'X-Upload-Content-Type': 'image/jpeg',
Authorization: 'Bearer ... } } |
|
I believe the path should be: https://www.googleapis.com/upload/storage/v1/b/your_bucket_name Can you show how you create the Bucket object? |
The bucket object is already created im not creating it in my code. I created it manually from the google cloud console. |
Sorry, I meant the @google-cloud/storage "Bucket", i.e.: var storage = require('@google-cloud/storage')
var bucket = storage.bucket('...')
var file = bucket.file('...') It seems like the argument passed to var bucket = storage.bucket('my-bucket-name')
var file = bucket.file('my-file-name') If the file is in a folder, it would look like: var bucket = storage.bucket('my-bucket-name')
var file = bucket.file('my-folder-name/my-file-name') |
This issue was moved to googleapis/nodejs-storage#25 |
thats my function to upload a file the file is a 34 mb .dem protobuf file the error trace im getting is.
The text was updated successfully, but these errors were encountered: