# Bug pendiente debido a respuesta de google de no poder crear un channel ``` 2020-06-04T19:25:18.356Z info: /google-logout call processed successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T19:25:22.491Z info: /google-auth request processed successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T19:25:32.600Z info: tuclase.equip.cloud/google-login-success request made successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T19:25:32.601Z info: /google-login call processed successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T19:25:46.695Z error: /set-google-calendar request error: [error: GaxiosError: Failed to create channel at Gaxios._request (/home/auth/node_modules/gaxios/build/src/gaxios.js:85:23) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) { [stack]: 'Error: Failed to create channel\n' + ' at Gaxios._request (/home/auth/node_modules/gaxios/build/src/gaxios.js:85:23)\n' + ' at runMicrotasks (<anonymous>)\n' + ' at processTicksAndRejections (internal/process/task_queues.js:93:5)', [message]: 'Failed to create channel', response: { config: { url: 'https://www.googleapis.com/calendar/v3/calendars/pmardesic%40tuclase.cl/events/watch', method: 'POST', paramsSerializer: [Function] { [length]: 1, [name]: '' }, data: { id: '7a46f5ef-632b-4f54-adf1-014efd3427cb', type: 'web_hook', address: 'https://auth.equip.cloud/google-events/3458ddf2-6432-4047-9371-43dfffc095c5', params: { ttl: '1814400000' } }, headers: { 'x-goog-api-client': 'gdcl/3.2.1 gl-node/12.10.0 auth/5.9.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/3.2.1 (gzip)', Authorization: 'Bearer ya29.a0AfH6SMDrwDhokD6RcA3orUpBU9xOZQUpHkvccHw1lNC0zVcJpztoyAVeM-d5QIEwxG99Ddcjln6C5D3BUv2t0X9qk9eMeMvjTvw0DW0Al0Xh2OOa4uamfuTAJKyCyxbB-K-fJSB75Q8QiARbkYwytGQCeuF6hcauWJA', 'Content-Type': 'application/json', Accept: 'application/json' }, params: [Object: null prototype] {}, validateStatus: [Function] { [length]: 1, [name]: '' }, retry: true, body: '{"id":"7a46f5ef-632b-4f54-adf1-014efd3427cb","type":"web_hook","address":"https://auth.equip.cloud/google-events/3458ddf2-6432-4047-9371-43dfffc095c5","params":{"ttl":"1814400000"}}', responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [ 'GET', 'HEAD', 'PUT', 'OPTIONS', 'DELETE', [length]: 5 ], noResponseRetries: 2, statusCodesToRetry: [ [Array], [Array], [Array], [length]: 3 ] } }, data: { error: { errors: [ [Object], [length]: 1 ], code: 503, message: 'Failed to create channel' } }, headers: { 'alt-svc': 'h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'cache-control': 'private, max-age=0', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "frame-ancestors 'self'", 'content-type': 'application/json; charset=UTF-8', date: 'Thu, 04 Jun 2020 19:25:46 GMT', expires: 'Thu, 04 Jun 2020 19:25:46 GMT', server: 'GSE', 'transfer-encoding': 'chunked', vary: 'Origin, X-Origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block' }, status: 503, statusText: 'Service Unavailable', request: { responseURL: 'https://www.googleapis.com/calendar/v3/calendars/pmardesic%40tuclase.cl/events/watch' } }, config: { url: 'https://www.googleapis.com/calendar/v3/calendars/pmardesic%40tuclase.cl/events/watch', method: 'POST', paramsSerializer: [Function] { [length]: 1, [name]: '' }, data: { id: '7a46f5ef-632b-4f54-adf1-014efd3427cb', type: 'web_hook', address: 'https://auth.equip.cloud/google-events/3458ddf2-6432-4047-9371-43dfffc095c5', params: { ttl: '1814400000' } }, headers: { 'x-goog-api-client': 'gdcl/3.2.1 gl-node/12.10.0 auth/5.9.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/3.2.1 (gzip)', Authorization: 'Bearer ya29.a0AfH6SMDrwDhokD6RcA3orUpBU9xOZQUpHkvccHw1lNC0zVcJpztoyAVeM-d5QIEwxG99Ddcjln6C5D3BUv2t0X9qk9eMeMvjTvw0DW0Al0Xh2OOa4uamfuTAJKyCyxbB-K-fJSB75Q8QiARbkYwytGQCeuF6hcauWJA', 'Content-Type': 'application/json', Accept: 'application/json' }, params: [Object: null prototype] {}, validateStatus: [Function] { [length]: 1, [name]: '' }, retry: true, body: '{"id":"7a46f5ef-632b-4f54-adf1-014efd3427cb","type":"web_hook","address":"https://auth.equip.cloud/google-events/3458ddf2-6432-4047-9371-43dfffc095c5","params":{"ttl":"1814400000"}}', responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [ 'GET', 'HEAD', 'PUT', 'OPTIONS', 'DELETE', [length]: 5 ], noResponseRetries: 2, statusCodesToRetry: [ [ 100, 199, [length]: 2 ], [ 429, 429, [length]: 2 ], [ 500, 599, [length]: 2 ], [length]: 3 ] } }, code: 503, errors: [ { domain: 'global', reason: 'backendError', message: 'Failed to create channel' }, [length]: 1 ] }] 2020-06-04T19:26:04.011Z error: /google-logout call with errors: [error: GaxiosError: Required at Gaxios._request (/home/auth/node_modules/gaxios/build/src/gaxios.js:85:23) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) { [stack]: 'Error: Required\n' + ' at Gaxios._request (/home/auth/node_modules/gaxios/build/src/gaxios.js:85:23)\n' + ' at runMicrotasks (<anonymous>)\n' + ' at processTicksAndRejections (internal/process/task_queues.js:93:5)', [message]: 'Required', response: { config: { url: 'https://www.googleapis.com/calendar/v3/channels/stop', method: 'POST', paramsSerializer: [Function] { [length]: 1, [name]: '' }, data: { id: null, resourceId: null }, headers: { 'x-goog-api-client': 'gdcl/3.2.1 gl-node/12.10.0 auth/5.9.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/3.2.1 (gzip)', Authorization: 'Bearer ya29.a0AfH6SMDrwDhokD6RcA3orUpBU9xOZQUpHkvccHw1lNC0zVcJpztoyAVeM-d5QIEwxG99Ddcjln6C5D3BUv2t0X9qk9eMeMvjTvw0DW0Al0Xh2OOa4uamfuTAJKyCyxbB-K-fJSB75Q8QiARbkYwytGQCeuF6hcauWJA', 'Content-Type': 'application/json', Accept: 'application/json' }, params: [Object: null prototype] {}, validateStatus: [Function] { [length]: 1, [name]: '' }, retry: true, body: '{"id":null,"resourceId":null}', responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [ 'GET', 'HEAD', 'PUT', 'OPTIONS', 'DELETE', [length]: 5 ], noResponseRetries: 2, statusCodesToRetry: [ [Array], [Array], [Array], [length]: 3 ] } }, data: { error: { errors: [ [Object], [length]: 1 ], code: 400, message: 'Required' } }, headers: { 'alt-svc': 'h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'cache-control': 'private, max-age=0', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "frame-ancestors 'self'", 'content-type': 'application/json; charset=UTF-8', date: 'Thu, 04 Jun 2020 19:26:04 GMT', expires: 'Thu, 04 Jun 2020 19:26:04 GMT', server: 'GSE', 'transfer-encoding': 'chunked', vary: 'Origin, X-Origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block' }, status: 400, statusText: 'Bad Request', request: { responseURL: 'https://www.googleapis.com/calendar/v3/channels/stop' } }, config: { url: 'https://www.googleapis.com/calendar/v3/channels/stop', method: 'POST', paramsSerializer: [Function] { [length]: 1, [name]: '' }, data: { id: null, resourceId: null }, headers: { 'x-goog-api-client': 'gdcl/3.2.1 gl-node/12.10.0 auth/5.9.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/3.2.1 (gzip)', Authorization: 'Bearer ya29.a0AfH6SMDrwDhokD6RcA3orUpBU9xOZQUpHkvccHw1lNC0zVcJpztoyAVeM-d5QIEwxG99Ddcjln6C5D3BUv2t0X9qk9eMeMvjTvw0DW0Al0Xh2OOa4uamfuTAJKyCyxbB-K-fJSB75Q8QiARbkYwytGQCeuF6hcauWJA', 'Content-Type': 'application/json', Accept: 'application/json' }, params: [Object: null prototype] {}, validateStatus: [Function] { [length]: 1, [name]: '' }, retry: true, body: '{"id":null,"resourceId":null}', responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [ 'GET', 'HEAD', 'PUT', 'OPTIONS', 'DELETE', [length]: 5 ], noResponseRetries: 2, statusCodesToRetry: [ [ 100, 199, [length]: 2 ], [ 429, 429, [length]: 2 ], [ 500, 599, [length]: 2 ], [length]: 3 ] } }, code: 400, errors: [ { domain: 'global', reason: 'required', message: 'Required' }, [length]: 1 ] }] 2020-06-04T19:26:08.870Z info: /outlook-auth request processed successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T19:26:12.474Z warn: Received a bad request body: Error [ValidationError]: { "userId": "3458ddf2-6432-4047-9371-43dfffc095c5", "code" [1]: null }  [1] "code" must be a string at Object.exports.process (/home/auth/node_modules/@hapi/joi/lib/errors.js:183:16) at Object.internals.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:140:26) at Object.exports.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:26:30) at internals.Base.validate (/home/auth/node_modules/@hapi/joi/lib/base.js:531:26) at Object.internals.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:210:27) at Object.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:95:19) at outlookLogin (/home/auth/dist/handlers.js:705:22) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) at next (/home/auth/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/auth/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) at /home/auth/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/home/auth/node_modules/express/lib/router/index.js:335:12) at next (/home/auth/node_modules/express/lib/router/index.js:275:10) at serveStatic (/home/auth/node_modules/serve-static/index.js:75:16) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) { [stack]: 'ValidationError: {\n' + ' "userId": "3458ddf2-6432-4047-9371-43dfffc095c5",\n' + ' "code" \u001b[31m[1]\u001b[0m: null\n' + '}\n' + '\u001b[31m\n' + '[1] "code" must be a string\u001b[0m\n' + ' at Object.exports.process (/home/auth/node_modules/@hapi/joi/lib/errors.js:183:16)\n' + ' at Object.internals.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:140:26)\n' + ' at Object.exports.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:26:30)\n' + ' at internals.Base.validate (/home/auth/node_modules/@hapi/joi/lib/base.js:531:26)\n' + ' at Object.internals.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:210:27)\n' + ' at Object.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:95:19)\n' + ' at outlookLogin (/home/auth/dist/handlers.js:705:22)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)\n' + ' at next (/home/auth/node_modules/express/lib/router/route.js:137:13)\n' + ' at Route.dispatch (/home/auth/node_modules/express/lib/router/route.js:112:3)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)\n' + ' at /home/auth/node_modules/express/lib/router/index.js:281:22\n' + ' at Function.process_params (/home/auth/node_modules/express/lib/router/index.js:335:12)\n' + ' at next (/home/auth/node_modules/express/lib/router/index.js:275:10)\n' + ' at serveStatic (/home/auth/node_modules/serve-static/index.js:75:16)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)', [message]: '{\n' + ' "userId": "3458ddf2-6432-4047-9371-43dfffc095c5",\n' + ' "code" \u001b[31m[1]\u001b[0m: null\n' + '}\n' + '\u001b[31m\n' + '[1] "code" must be a string\u001b[0m', _original: { code: null, userId: '3458ddf2-6432-4047-9371-43dfffc095c5' }, details: [ { message: '"code" must be a string', path: [ 'code', [length]: 1 ], type: 'string.base', context: { label: 'code', value: null, key: 'code' } }, [length]: 1 ] } 2020-06-04T22:57:40.353Z info: /outlook-auth request processed successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T22:57:43.598Z warn: Received a bad request body: Error [ValidationError]: { "userId": "3458ddf2-6432-4047-9371-43dfffc095c5", "code" [1]: null }  [1] "code" must be a string at Object.exports.process (/home/auth/node_modules/@hapi/joi/lib/errors.js:183:16) at Object.internals.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:140:26) at Object.exports.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:26:30) at internals.Base.validate (/home/auth/node_modules/@hapi/joi/lib/base.js:531:26) at Object.internals.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:210:27) at Object.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:95:19) at outlookLogin (/home/auth/dist/handlers.js:705:22) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) at next (/home/auth/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/auth/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) at /home/auth/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/home/auth/node_modules/express/lib/router/index.js:335:12) at next (/home/auth/node_modules/express/lib/router/index.js:275:10) at serveStatic (/home/auth/node_modules/serve-static/index.js:75:16) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) { [stack]: 'ValidationError: {\n' + ' "userId": "3458ddf2-6432-4047-9371-43dfffc095c5",\n' + ' "code" \u001b[31m[1]\u001b[0m: null\n' + '}\n' + '\u001b[31m\n' + '[1] "code" must be a string\u001b[0m\n' + ' at Object.exports.process (/home/auth/node_modules/@hapi/joi/lib/errors.js:183:16)\n' + ' at Object.internals.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:140:26)\n' + ' at Object.exports.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:26:30)\n' + ' at internals.Base.validate (/home/auth/node_modules/@hapi/joi/lib/base.js:531:26)\n' + ' at Object.internals.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:210:27)\n' + ' at Object.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:95:19)\n' + ' at outlookLogin (/home/auth/dist/handlers.js:705:22)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)\n' + ' at next (/home/auth/node_modules/express/lib/router/route.js:137:13)\n' + ' at Route.dispatch (/home/auth/node_modules/express/lib/router/route.js:112:3)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)\n' + ' at /home/auth/node_modules/express/lib/router/index.js:281:22\n' + ' at Function.process_params (/home/auth/node_modules/express/lib/router/index.js:335:12)\n' + ' at next (/home/auth/node_modules/express/lib/router/index.js:275:10)\n' + ' at serveStatic (/home/auth/node_modules/serve-static/index.js:75:16)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)', [message]: '{\n' + ' "userId": "3458ddf2-6432-4047-9371-43dfffc095c5",\n' + ' "code" \u001b[31m[1]\u001b[0m: null\n' + '}\n' + '\u001b[31m\n' + '[1] "code" must be a string\u001b[0m', _original: { code: null, userId: '3458ddf2-6432-4047-9371-43dfffc095c5' }, details: [ { message: '"code" must be a string', path: [ 'code', [length]: 1 ], type: 'string.base', context: { label: 'code', value: null, key: 'code' } }, [length]: 1 ] } 020-06-04T23:00:40.427Z info: /outlook-auth request processed successfully: [host: tuclase.equip.cloud, user: 3458ddf2-6432-4047-9371-43dfffc095c5] 2020-06-04T23:00:46.709Z warn: Received a bad request body: Error [ValidationError]: { "userId": "3458ddf2-6432-4047-9371-43dfffc095c5", "code" [1]: null }  [1] "code" must be a string at Object.exports.process (/home/auth/node_modules/@hapi/joi/lib/errors.js:183:16) at Object.internals.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:140:26) at Object.exports.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:26:30) at internals.Base.validate (/home/auth/node_modules/@hapi/joi/lib/base.js:531:26) at Object.internals.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:210:27) at Object.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:95:19) at outlookLogin (/home/auth/dist/handlers.js:705:22) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) at next (/home/auth/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/auth/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) at /home/auth/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/home/auth/node_modules/express/lib/router/index.js:335:12) at next (/home/auth/node_modules/express/lib/router/index.js:275:10) at serveStatic (/home/auth/node_modules/serve-static/index.js:75:16) at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5) { [stack]: 'ValidationError: {\n' + ' "userId": "3458ddf2-6432-4047-9371-43dfffc095c5",\n' + ' "code" \u001b[31m[1]\u001b[0m: null\n' + '}\n' + '\u001b[31m\n' + '[1] "code" must be a string\u001b[0m\n' + ' at Object.exports.process (/home/auth/node_modules/@hapi/joi/lib/errors.js:183:16)\n' + ' at Object.internals.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:140:26)\n' + ' at Object.exports.entry (/home/auth/node_modules/@hapi/joi/lib/validator.js:26:30)\n' + ' at internals.Base.validate (/home/auth/node_modules/@hapi/joi/lib/base.js:531:26)\n' + ' at Object.internals.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:210:27)\n' + ' at Object.assert (/home/auth/node_modules/@hapi/joi/lib/index.js:95:19)\n' + ' at outlookLogin (/home/auth/dist/handlers.js:705:22)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)\n' + ' at next (/home/auth/node_modules/express/lib/router/route.js:137:13)\n' + ' at Route.dispatch (/home/auth/node_modules/express/lib/router/route.js:112:3)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)\n' + ' at /home/auth/node_modules/express/lib/router/index.js:281:22\n' + ' at Function.process_params (/home/auth/node_modules/express/lib/router/index.js:335:12)\n' + ' at next (/home/auth/node_modules/express/lib/router/index.js:275:10)\n' + ' at serveStatic (/home/auth/node_modules/serve-static/index.js:75:16)\n' + ' at Layer.handle [as handle_request] (/home/auth/node_modules/express/lib/router/layer.js:95:5)', [message]: '{\n' + ' "userId": "3458ddf2-6432-4047-9371-43dfffc095c5",\n' + ' "code" \u001b[31m[1]\u001b[0m: null\n' + '}\n' + '\u001b[31m\n' + '[1] "code" must be a string\u001b[0m', _original: { code: null, userId: '3458ddf2-6432-4047-9371-43dfffc095c5' }, details: [ { message: '"code" must be a string', path: [ 'code', [length]: 1 ], type: 'string.base', context: { label: 'code', value: null, key: 'code' } }, [length]: 1 ] } 2020-06-05T22:22:35.387Z error: /google-logout call with errors: [error: GaxiosError: Required at Gaxios._request (/home/auth/node_modules/gaxios/build/src/gaxios.js:85:23) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) { [stack]: 'Error: Required\n' + ' at Gaxios._request (/home/auth/node_modules/gaxios/build/src/gaxios.js:85:23)\n' + ' at runMicrotasks (<anonymous>)\n' + ' at processTicksAndRejections (internal/process/task_queues.js:93:5)', [message]: 'Required', response: { config: { url: 'https://www.googleapis.com/calendar/v3/channels/stop', method: 'POST', paramsSerializer: [Function] { [length]: 1, [name]: '' }, data: { id: null, resourceId: null }, headers: { 'x-goog-api-client': 'gdcl/3.2.1 gl-node/12.10.0 auth/5.9.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/3.2.1 (gzip)', Authorization: 'Bearer ya29.a0AfH6SMCcsQ7vDJrv1I2VMmNjsM2yo2i7GyGJNNoqJwKTPYdB7fQJRNLY3NOHwNKPCF5j5DM6CQL16VU6KeHmKVCnc3U20a475ugNT9lf5QPuhcebjJgS5f_eBLPwQKJKD6HfYtVgWaSLHsxZSsX31ZHGQv5eNhW3v62q', 'Content-Type': 'application/json', Accept: 'application/json' }, params: [Object: null prototype] {}, validateStatus: [Function] { [length]: 1, [name]: '' }, retry: true, body: '{"id":null,"resourceId":null}', responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [ 'GET', 'HEAD', 'PUT', 'OPTIONS', 'DELETE', [length]: 5 ], noResponseRetries: 2, statusCodesToRetry: [ [Array], [Array], [Array], [length]: 3 ] } }, data: { error: { errors: [ [Object], [length]: 1 ], code: 400, message: 'Required' } }, headers: { 'alt-svc': 'h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'cache-control': 'private, max-age=0', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "frame-ancestors 'self'", 'content-type': 'application/json; charset=UTF-8', date: 'Fri, 05 Jun 2020 22:22:35 GMT', expires: 'Fri, 05 Jun 2020 22:22:35 GMT', server: 'GSE', 'transfer-encoding': 'chunked', vary: 'Origin, X-Origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block' }, status: 400, statusText: 'Bad Request', request: { responseURL: 'https://www.googleapis.com/calendar/v3/channels/stop' } }, config: { url: 'https://www.googleapis.com/calendar/v3/channels/stop', method: 'POST', paramsSerializer: [Function] { [length]: 1, [name]: '' }, data: { id: null, resourceId: null }, headers: { 'x-goog-api-client': 'gdcl/3.2.1 gl-node/12.10.0 auth/5.9.1', 'Accept-Encoding': 'gzip', 'User-Agent': 'google-api-nodejs-client/3.2.1 (gzip)', Authorization: 'Bearer ya29.a0AfH6SMCcsQ7vDJrv1I2VMmNjsM2yo2i7GyGJNNoqJwKTPYdB7fQJRNLY3NOHwNKPCF5j5DM6CQL16VU6KeHmKVCnc3U20a475ugNT9lf5QPuhcebjJgS5f_eBLPwQKJKD6HfYtVgWaSLHsxZSsX31ZHGQv5eNhW3v62q', 'Content-Type': 'application/json', Accept: 'application/json' }, params: [Object: null prototype] {}, validateStatus: [Function] { [length]: 1, [name]: '' }, retry: true, body: '{"id":null,"resourceId":null}', responseType: 'json', retryConfig: { currentRetryAttempt: 0, retry: 3, httpMethodsToRetry: [ 'GET', 'HEAD', 'PUT', 'OPTIONS', 'DELETE', [length]: 5 ], noResponseRetries: 2, statusCodesToRetry: [ [ 100, 199, [length]: 2 ], [ 429, 429, [length]: 2 ], [ 500, 599, [length]: 2 ], [length]: 3 ] } }, code: 400, errors: [ { domain: 'global', reason: 'required', message: 'Required' }, [length]: 1 ] }] ```