Skip to content

storage: Followed the simple storage example and keep getting an error #71

@shacharz

Description

@shacharz
  1. Enabled the storage api and storage json api
  2. Created the json private key
  3. var gcloud = require('gcloud'),
    bucket = new gcloud.storage.Bucket({
    bucketName: 'BUCKET_NAME',
    keyFilename: 'path/to/key.json'
    });

And tried different methods:
bucket.list(function(err, files, nextQuery) {
// if more results, nextQuery will be non-null.
console.log("callback returned");
});

//
//bucket.writeBuffer("testLog.txt", { data: 'Hello World' }, function(err){
// console.log("callback returned");
//});

All return with "getaddrinfo ENOTFOUND" message

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions