Incorrect GaxiosError message type when request responseType "arrayBuffer" #529
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I'm using
responseType: "arraybuffer",
with mydrive_v3.Drive
requests that sometimes fail with eg expired credentials, but the returned error is no longer readable as it's an ArrayBuffer. Parsing the array buffer shows the original error again.Steps to reproduce
Use this with expired access_token. Incorrect parameters could work as well.
Environment details
The bug should exist with the latest (5.1.0) version as well.
The text was updated successfully, but these errors were encountered: