Skip to content

Stream attempt to Drive with invalid OAuth2 token can result in lost data #456

@ikb42

Description

@ikb42

Hi
Following a drive.files.insert with a media.body that is a stream, if the insert fails immediately (for instance due to token expired), it seems that the stream is left partly consumed / read.

Is this the case and if so is it avoidable?

Metadata

Metadata

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions