-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- OS: Linux / Macos
- Node.js version: v18.10.0
- npm version: 8.19.2
googleapisversion: 105/109.0.1
Steps to reproduce
- Get a large email from Google API with the options {http2: false}
- The function returns the following error:
Could not download email 17d03869ffcd2de1 Error: unexpected end of file
at Zlib.zlibOnError [as onerror] (node:zlib:189:17)
at Zlib.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -5,
code: 'Z_BUF_ERROR'
}
Making the same request using the Try this API
Making the same request with the {http2: false} option works as well.
Possibly related with:
#3108
transitive-bullshit, notnavindu and kevintyjtransitive-bullshit
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.