-
Notifications
You must be signed in to change notification settings - Fork 154
Description
Error uploading to drive GaxiosError: invalid_request
sixgpt3-1 | at Gaxios._request (/usr/src/app/node_modules/gaxios/build/src/gaxios.js:142:23)
sixgpt3-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
sixgpt3-1 | at async OAuth2Client.refreshTokenNoCache (/usr/src/app/node_modules/google-auth-library/build/src/auth/oauth2client.js:212:19)
sixgpt3-1 | at async OAuth2Client.getRequestMetadataAsync (/usr/src/app/node_modules/google-auth-library/build/src/auth/oauth2client.js:333:17)
sixgpt3-1 | at async OAuth2Client.requestAsync (/usr/src/app/node_modules/google-auth-library/build/src/auth/oauth2client.js:418:23)
sixgpt3-1 | at async DriveRepository.upload (/usr/src/app/dist/repositories/drive.repository.js:90:25)
sixgpt3-1 | at async DriveRepository.uploadWithRetry (/usr/src/app/dist/repositories/drive.repository.js:71:24)
sixgpt3-1 | at async AppService.run (/usr/src/app/dist/app.service.js:58:29)
sixgpt3-1 | at async bootstrap (/usr/src/app/dist/main.js:10:9) {
sixgpt3-1 | config: {
sixgpt3-1 | retry: true,
sixgpt3-1 | retryConfig: {
sixgpt3-1 | httpMethodsToRetry: [Array],
sixgpt3-1 | currentRetryAttempt: 0,
sixgpt3-1 | retry: 3,
sixgpt3-1 | noResponseRetries: 2,
sixgpt3-1 | retryDelayMultiplier: 2,
sixgpt3-1 | timeOfFirstRequest: 1735450846212,
sixgpt3-1 | totalTimeout: 9007199254740991,
sixgpt3-1 | maxRetryDelay: 9007199254740991,
sixgpt3-1 | statusCodesToRetry: [Array]
sixgpt3-1 | },
sixgpt3-1 | method: 'POST',
sixgpt3-1 | url: 'https://oauth2.googleapis.com/token',
sixgpt3-1 | data: '< - See errorRedactor option in gaxios for configuration>.',
sixgpt3-1 | headers: {
sixgpt3-1 | 'Content-Type': 'application/x-www-form-urlencoded',
sixgpt3-1 | 'User-Agent': 'google-api-nodejs-client/9.14.1',
sixgpt3-1 | 'x-goog-api-client': 'gl-node/22.0.0'
sixgpt3-1 | },
sixgpt3-1 | paramsSerializer: [Function: paramsSerializer],
sixgpt3-1 | body: '< - See errorRedactor option in gaxios for configuration>.',
sixgpt3-1 | validateStatus: [Function: validateStatus],
sixgpt3-1 | responseType: 'unknown',
sixgpt3-1 | errorRedactor: [Function: defaultErrorRedactor]
sixgpt3-1 | },
sixgpt3-1 | response: {
sixgpt3-1 | config: {
sixgpt3-1 | retry: true,
sixgpt3-1 | retryConfig: [Object],
sixgpt3-1 | method: 'POST',
sixgpt3-1 | url: 'https://oauth2.googleapis.com/token',
sixgpt3-1 | data: '< - See errorRedactor option in gaxios for configuration>.',
sixgpt3-1 | headers: [Object],
sixgpt3-1 | paramsSerializer: [Function: paramsSerializer],
sixgpt3-1 | body: '< - See errorRedactor option in gaxios for configuration>.',
sixgpt3-1 | validateStatus: [Function: validateStatus],
sixgpt3-1 | responseType: 'unknown',
sixgpt3-1 | errorRedactor: [Function: defaultErrorRedactor]
sixgpt3-1 | },
sixgpt3-1 | data: {
sixgpt3-1 | error: 'invalid_request',
sixgpt3-1 | error_description: 'Could not determine client ID from request.'
sixgpt3-1 | },
sixgpt3-1 | headers: {
sixgpt3-1 | 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
sixgpt3-1 | 'cache-control': 'no-cache, no-store, max-age=0, must-revalidate',
sixgpt3-1 | 'content-encoding': 'gzip',
sixgpt3-1 | 'content-type': 'application/json; charset=utf-8',
sixgpt3-1 | date: 'Sun, 29 Dec 2024 05:40:46 GMT',
sixgpt3-1 | expires: 'Mon, 01 Jan 1990 00:00:00 GMT',
sixgpt3-1 | pragma: 'no-cache',
sixgpt3-1 | server: 'scaffolding on HTTPServer2',
sixgpt3-1 | 'transfer-encoding': 'chunked',
sixgpt3-1 | vary: 'Origin, X-Origin, Referer',
sixgpt3-1 | 'x-content-type-options': 'nosniff',
sixgpt3-1 | 'x-frame-options': 'SAMEORIGIN',
sixgpt3-1 | 'x-xss-protection': '0'
sixgpt3-1 | },
sixgpt3-1 | status: 400,
sixgpt3-1 | statusText: 'Bad Request',
sixgpt3-1 | request: { responseURL: 'https://oauth2.googleapis.com/token' }
sixgpt3-1 | },
sixgpt3-1 | error: undefined,
sixgpt3-1 | status: 400,
sixgpt3-1 | [Symbol(gaxios-gaxios-error)]: '6.7.1'
sixgpt3-1 | }
sixgpt3-1 | Sleeping 5 MINS for attempt 1 to pass google cloud timeout...