Tek-Pheed / AREA

Application de configuration d'action réaction
0 stars 0 forks source link

Calendar reaction error 401 #168

Closed Slymoz closed 5 days ago

Slymoz commented 1 week ago
webservice_1  | [15:04:47.000] INFO: email:samynasset84@gmail.com Reaction: Add event
webservice_1  | [15:04:47.000] ERROR: Request failed with status code 401
webservice_1  |     err: {
webservice_1  |       "message": "Request failed with status code 401",
webservice_1  |       "name": "AxiosError",
webservice_1  |       "stack":
webservice_1  |           AxiosError: Request failed with status code 401
webservice_1  |               at settle (/usr/src/app/node_modules/axios/dist/node/axios.cjs:2019:12)
webservice_1  |               at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/dist/node/axios.cjs:3135:11)
webservice_1  |               at IncomingMessage.emit (node:events:531:35)
webservice_1  |               at endReadableNT (node:internal/streams/readable:1696:12)
webservice_1  |               at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
webservice_1  |               at Axios.request (/usr/src/app/node_modules/axios/dist/node/axios.cjs:4287:41)
webservice_1  |               at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
webservice_1  |       "config": {
webservice_1  |         "transitional": {
webservice_1  |           "silentJSONParsing": true,
webservice_1  |           "forcedJSONParsing": true,
webservice_1  |           "clarifyTimeoutError": false
webservice_1  |         },
webservice_1  |         "adapter": [
webservice_1  |           "xhr",
webservice_1  |           "http",
webservice_1  |           "fetch"
webservice_1  |         ],
webservice_1  |         "transformRequest": [
webservice_1  |           null
webservice_1  |         ],
webservice_1  |         "transformResponse": [
webservice_1  |           null
webservice_1  |         ],
webservice_1  |         "timeout": 0,
webservice_1  |         "xsrfCookieName": "XSRF-TOKEN",
webservice_1  |         "xsrfHeaderName": "X-XSRF-TOKEN",
webservice_1  |         "maxContentLength": -1,
webservice_1  |         "maxBodyLength": -1,
webservice_1  |         "env": {},
webservice_1  |         "headers": {
webservice_1  |           "Accept": "application/json, text/plain, */*",
webservice_1  |           "Content-Type": "application/json",
webservice_1  |           "Authorization": "Bearer ya29.a0AcM612wEhkP34tsuWnupgaqKf-B0CgZuVgnHjOcFpgxKYlo8VBXmEV9BiY_1CUN7ZdKgjaEUxDo_IXGzebsz7LpCN2iyxfzIp8FnjJKE_UNLKFlqf-jnl6MxPtP6ojrQHVWgkLbgssb6P0kOc8090u70RVEEkdigJA3d1dEOaCgYKAfISARESFQHGX2MicJ2NTm7BW2Sirev_bojlyA0175",
webservice_1  |           "User-Agent": "axios/1.7.7",
webservice_1  |           "Content-Length": "187",
webservice_1  |           "Accept-Encoding": "gzip, compress, deflate, br"
webservice_1  |         },
webservice_1  |         "method": "post",
webservice_1  |         "url": "https://www.googleapis.com/calendar/v3/calendars/primary/events",
webservice_1  |         "data": "{\"start\":{\"dateTime\":\"2024-10-24T15:55:00\",\"timeZone\":\"Europe/Paris\"},\"end\":{\"dateTime\":\"2024-10-24T16:55:00\",\"timeZone\":\"Europe/Paris\"},\"summary\":\"Sports\",\"description\":\"MEGA GIGA TEST\"}"
webservice_1  |       },
webservice_1  |       "code": "ERR_BAD_REQUEST",
webservice_1  |       "status": 401
webservice_1  |     }
Linkheroes commented 1 week ago

FIX in AREA-127