Skip to content

insert with expired access_token but good refresh_token fails #122

@ivanmo

Description

@ivanmo
Error: Body attribute missing in multipart.
    at Error (<anonymous>)
    at Request.multipart (..\gapi.nodejs\node_modules\googleapis\node_modules\request\index.js:997:28)
    at Array.forEach (native)
    at Request.multipart (..\gapi.nodejs\node_modules\googleapis\node_modules\request\index.js:995:13)
    at Request.init (..\gapi.nodejs\node_modules\googleapis\node_modules\request\index.js:326:10)
    at new Request (..\gapi.nodejs\node_modules\googleapis\node_modules\request\index.js:124:8)
    at request (..\gapi.nodejs\node_modules\googleapis\node_modules\request\index.js:1255:11)
    at DefaultTransporter.request (..\gapi.nodejs\node_modules\googleapis\lib\transporters.js:52:3)
    at OAuth2Client.request (.\gapi.nodejs\node_modules\googleapis\lib\auth\oauth2client.js:192:20)
    at OAuth2Client.request (.\gapi.nodejs\node_modules\googleapis\lib\auth\oauth2client.js:206:16)

right after 1st insert request: var r = new Request(options) fails with auth error, document body disappears from the options object. so next attempt after access token gets refreshed fails with above error.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.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