Unable to delete an event in Google Calendar from the "delete event node" in n8n

Describe the problem/error/question: I am trying to create a “delete event” node for Google calendar.

What is the error message (if any)?

n8n version

1.75.2 (Cloud)

Time

1/21/2025, 11:20:27 AM

Error cause

{ "message": "The resource you are requesting could not be found", "timestamp": 1737480027289, "name": "NodeApiError", "description": "Not Found", "context": {}, "cause": { "message": "404 - {\"error\":{\"errors\":[{\"domain\":\"global\",\"reason\":\"notFound\",\"message\":\"Not Found\"}],\"code\":404,\"message\":\"Not Found\"}}", "name": "AxiosError", "stack": "AxiosError: Request failed with status code 404\n at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12)\n at Unzip.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:599:11)\n at Unzip.emit (node:events:530:35)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at invokeAxios (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:583:16)\n at proxyRequestToAxios (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:612:26)\n at Object.request (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1478:50)\n at SupplyDataContext.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1045:12)\n at SupplyDataContext.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1486:20)\n at SupplyDataContext.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GenericFunctions.js:38:16)\n at SupplyDataContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GoogleCalendar.node.js:289:40)\n at Object.handleToolInvocation (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/node-execution-context/utils/getInputConnectionData.js:41:44)\n at DynamicStructuredTool.func (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/CreateNodeAsTool.js:260:39)\n at DynamicStructuredTool.call (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/tools/index.cjs:111:22)\n at /usr/local/lib/node_modules/n8n/node_modules/langchain/dist/agents/executor.cjs:486:27\n at async Promise.all (index 0)\n at AgentExecutor._call (/usr/local/lib/node_modules/n8n/node_modules/langchain/dist/agents/executor.cjs:478:30)\n at AgentExecutor.invoke (/usr/local/lib/node_modules/n8n/node_modules/langchain/dist/chains/base.cjs:58:28)\n at ExecuteContext.toolsAgentExecute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/agents/Agent/agents/ToolsAgent/execute.js:185:30)\n at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/agents/Agent/Agent.node.js:379:20)\n at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:632:19)\n at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:890:51\n at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1224:20", "code": "ERR_BAD_REQUEST", "status": 404 } }

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey, have you been able to make any progress with getting this to work? I’m having the exact same issue. I can create calendar events, retrieve a list of calendar events but unable to delete.

Anyone else having any luck doing this?

Thanks

Nutz

No luck so far. May be somone from n8n can chime in

Do you also get this error on updating calendar events?

I jest tested deleting an event. I requested the agent to delete an event with a specific Dates. The agent used get_event to extract the event’s ID and then successfully deleted the event without any problems.

1 Like

Thanks @Malek !!
I can see what I was doing wrong. The issue was related to the Fixed/Expression toggle on the Event ID field - it has to be Expression (mine was Fixed). Thank you again! @yogesh_damle check your setting - making this Expression on the Event ID field fixed it for me!

1 Like

I am expressing the event id as seeen in the code here.

hi i am new to n8n and came across this i was trying to implement this google calendar and saw urs and try to implement it . i am using groq api and i have deactivtated the audio lane.
if i ran the bot without having any tools active works perfectly fine
I changed the credential of google calendar to my account but i am facing this issue

so the error is this
Problem in telegram node bad request please check your parameters

kindly help me out

thank you