Skip to content

Update incorrect documentation for getSignedUrl #735

@zackify

Description

@zackify

image

The documentation for File.getSignedUrl https://cloud.google.com/nodejs/docs/reference/storage/2.5.x/File#getSignedUrl

incorrectly says contentType is optional. It is not, after an hour of debugging I realized from stackoverflow, that you must set the content type when making the url, or the upload fails with a 403 every time.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/nodejs-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions