Gitlab issues due date to google calendar

Describe the issue/error/question

I would like to have all issues with due dates shown on my google calendar. I have a Gitlab Trigger node connected to a Google Calendar node.
Triggering a gitlab event, by creating a new issue, generated an error on the Google Calendar node.

I just started using n8n so I don’t know if this is even possible, so any hints would be highly appreciated.

What is the error message (if any)?

ERROR: Bad request - please check your parameters

Share the output returned by the last node

{"message":"400 - {\"error\":{\"errors\":[{\"domain\":\"global\",\"reason\":\"badRequest\",\"message\":\"Bad Request\"}],\"code\":400,\"message\":\"Bad Request\"}}","name":"Error","stack":"Error: Request failed with status code 400\n    at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11)\n    at IncomingMessage.emit (node:events:538:35)\n    at endReadableNT (node:internal/streams/readable:1345:12)\n    at processTicksAndRejections (node:internal/process/task_queues:83:21)"}

Information on your n8n setup

  • n8n version: 0.173.1
  • Database you’re using (default: SQLite): default
  • **Running n8n via [Docker, npm, n8n.cloud, desktop app]:**Docker

Hey @boris_runakov, welcome to the community :tada:

I am sorry to hear you’re having trouble here. Could you share your Google Calendar node (simply select the node on your n8n canvas, hit Ctrl+C and insert the copied JSON code here on the forum) as well as the data you’re passing on from the previous GitLab Trigger node?

I am sure we can sort this out :slight_smile:

Hey there!
Sorry for my late reply :frowning:
I figured out that the Google Calendar needs a Start / End date to work, however now once the Google Calendar node is executed the execution does not seem to end (Endless spinning):
image
However the event is properly added to my calendar.
Is this normal ?

Here is the output of the Google calendar Node:

{ "nodes": [ { "parameters": { "calendar": "[email protected]", "start": "2022-04-24T20:43:43.333Z", "end": "2022-04-24T21:00:00.000Z", "additionalFields": {} }, "name": "Google Calendar", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 680, 300 ], "credentials": { "googleCalendarOAuth2Api": { "id": "2", "name": "Google Calendar account" } } } ], "connections": {} }

p.s. for some reason three back-ticks don’t work for me :confused:

My issue was regarding my setup. I use nginx in front of the docker container so I had to Nginx configuration - #7 by Arnaud !
Now the execution seems to be running smoothly :smiley:

1 Like

Nice one, thanks so much for confirming!