Skip to content

#1990 seems to be breaking File.save #2078

@q42jaap

Description

@q42jaap

#1990 is breaking my code:
I'm getting an error which is suppressed by makeAuthenticatedRequest.
The error which is suppressed: value.hasOwnProperty is not a function which is triggered on the line:
https://github.com/GoogleCloudPlatform/google-cloud-node/pull/1990/files#diff-4ddf84f5cae46867fbddaf62136f04c3R521

The object value is looks something like this
screen shot 2017-03-14 at 01 53 46

Reverting to 0.47.0 fixes this for me.

I'm doing a File.save (from the storage module).

The config for storage is {projectId: '...'}. I'm using the credentials provided by de gcloud sdk.

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