Error when fetching test event of a Google Calendar Trigger

Describe the issue/error/question

Hi, I’m new to n8n. I’m trying to create a workflow of archiving one calendar to another when it’s done / deleted. I’ve set up the google credential and it seems to work on google calendar nodes. However when I create a trigger and try fetch test event, it gives me an error. What should I do?

Thanks.

I’m using a docker version of 0.201.0 on Synology.

What is the error message (if any)?

NodeApiError: UNKNOWN ERROR - check the detailed error for more information
    at Object.poll (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GoogleCalendarTrigger.node.js:170:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:663:32)
    at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:562:53

Hi @sherlocklyz, welcome to the community :tada:

I am sorry to hear you’re having trouble. Based on the error message “No data with the current filter could be found”, could it be that your calendar “Personal” is simply empty? What happens if you create a dummy event in the calendar and execute your trigger node?

Hi, unfortunately it doesn’t work. I tried to create dummy events, or switched to another long-existing calendars, neither worked. It showed the same error.

Hm, I am afraid I am not sure what exactly might be causing this. Any more helpful error message in the n8n server logs when trying to manually execute this trigger node?

Hi there! I have the same error, and it work only on a specific calendar. All the others work just fine.

Here’s the verbose log

e[34mExecuting hook on node "Google Calendar Trigger" (hookFunctionsPush)e[39m "{\n  executionId: '198',\n  sessionId: 'g2jghw4cf3b',\n  workflowId: '3',\n  file: 'WorkflowExecuteAdditionalData.js',\n  function: 'nodeExecuteAfter'\n}"
2023-01-26T01:04:24.189090224Z	stdout	2023-01-26T01:04:24.188Z | e[36mverbosee[39m  | e[36mWorkflow execution finished with errore[39m "{\n  error: {\n    context: {},\n    name: 'NodeApiError',\n    timestamp: 1674695064185,\n    cause: { message: 'No data with the current filter could be found' },\n    node: {\n      parameters: [Object],\n      id: '99f1a704-93a9-48c1-acea-aee5ae3e913b',\n      name: 'Google Calendar Trigger',\n      type: 'n8n-nodes-base.googleCalendarTrigger',\n      typeVersion: 1,\n      position: [Array],\n      retryOnFail: true,\n      credentials: [Object]\n    },\n    httpCode: null,\n    description: 'No data with the current filter could be found',\n    message: 'UNKNOWN ERROR - check the detailed error for more information',\n    stack: 'NodeApiError: UNKNOWN ERROR - check the detailed error for more information\\n' +\n      '    at Object.poll (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Calendar/GoogleCalendarTrigger.node.js:188:19)\\n' +\n      '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\\n' +\n      '    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:663:32)\\n' +\n      '    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:585:53'\n  },\n  workflowId: '3',\n  file: 'WorkflowExecute.js',\n  function: 'processSuccessExecution'\n}"
2023-01-26T01:04:24.188697214Z	stdout	2023-01-26T01:04:24.188Z | e[34mdebuge[39m    | e[34mReceived child process message of type processHook for execution ID 198.e[39m "{ executionId: '198', file: 'WorkflowRunner.js' }"
2023-01-26T01:04:24.186703200Z	stdout	2023-01-26T01:04:24.186Z | e[34mdebuge[39m    | e[34mReceived child process message of type processHook for execution ID 198.e[39m "{ executionId: '198', file: 'WorkflowRunner.js' }"
2023-01-26T01:04:24.186371649Z	stdout	2023-01-26T01:04:24.186Z | e[34mdebuge[39m    | e[34mRunning node "Google Calendar Trigger" finished with errore[39m "{\n  node: 'Google Calendar Trigger',\n  workflowId: '3',\n  file: 'WorkflowExecute.js'\n}"
2023-01-26T01:04:23.877600228Z	stdout	2023-01-26T01:04:23.875Z | e[34mdebuge[39m    | e[34mProxying request to axiose[39m "{ file: 'NodeExecuteFunctions.js', function: 'proxyRequestToAxios' }"
2023-01-26T01:04:23.868556748Z	stdout	2023-01-26T01:04:23.867Z | e[34mdebuge[39m    | e[34mRunning node "Google Calendar Trigger" startede[39m "{\n  node: 'Google Calendar Trigger',\n  workflowId: '3',\n  file: 'WorkflowExecute.js'\n}"
2023-01-26T01:04:23.274616413Z	stdout	2023-01-26T01:04:22.865Z | e[34mdebuge[39m    | e[34mRunning node "Google Calendar Trigger" finished with errore[39m "{\n  node: 'Google Calendar Trigger',\n  workflowId: '3',\n  file: 'WorkflowExecute.js'\n}"
2023-01-26T01:04:22.866336695Z	stdout	2023-01-26T01:04:22.864Z | e[34mdebuge[39m    | e[34mReceived child process message of type processHook for execution ID 198.e[39m "{ executionId: '198', file: 'WorkflowRunner.js' }"
2023-01-26T01:04:22.568981167Z	stdout	2023-01-26T01:04:22.568Z | e[34mdebuge[39m    | e[34mProxying request to axiose[39m "{ file: 'NodeExecuteFunctions.js', function: 'proxyRequestToAxios' }"
2023-01-26T01:04:22.562394733Z	stdout	2023-01-26T01:04:22.561Z | e[34mdebuge[39m    | e[34mRunning node "Google Calendar Trigger" startede[39m "{\n  node: 'Google Calendar Trigger',\n  workflowId: '3',\n  file: 'WorkflowExecute.js'\n}"
2023-01-26T01:04:21.559749019Z	stdout	2023-01-26T01:04:21.559Z | e[34mdebuge[39m    | e[34mRunning node "Google Calendar Trigger" finished with errore[39m "{\n  node: 'Google Calendar Trigger',\n  workflowId: '3',\n  file: 'WorkflowExecute.js'\n}"
2023-01-26T01:04:21.555831128Z	stdout	2023-01-26T01:04:21.555Z | e[34mdebuge[39m    | e[34mReceived child process message of type processHook for execution ID 198.e[39m "{ executionId: '198', file: 'WorkflowRunner.js' }"
2023-01-26T01:04:21.211803804Z	stdout	2023-01-26T01:04:21.211Z | e[34mdebuge[39m    | e[34mProxying request to axiose[39m "{ file: 'NodeExecuteFunctions.js', function: 'proxyRequestToAxios' }"
2023-01-26T01:04:21.175385538Z	stdout	2023-01-26T01:04:21.175Z | e[34mdebuge[39m    | e[34mSend data of type "nodeExecuteBefore" to editor-UIe[39m "{\n  dataType: 'nodeExecuteBefore',\n  sessionId: 'g2jghw4cf3b',\n  file: 'Push.js',\n  function: 'send'\n}"
2023-01-26T01:04:21.174730795Z	stdout	2023-01-26T01:04:21.174Z | e[34mdebuge[39m    | e[34mExecuting hook on node "Google Calendar Trigger" (hookFunctionsPush)e[39m "{\n  executionId: '198',\n  sessionId: 'g2jghw4cf3b',\n  workflowId: '3',\n  file: 'WorkflowExecuteAdditionalData.js',\n  function: 'nodeExecuteBefore'\n}"

Just came from make and it didn’t give me any error on the same calendar… it just weird and I created event by hand.

Using Docker 0.212.1 on synology… hum… also…

Hi @ZeFish, welcome to the community. The error message “No data with the current filter could be found” suggests no results have been returned by the Google Calendar API with your settings.

Does the user you have authenticated with possibly lack permissions to read event details in the calendar in question?

Thanks @MutedJam for the reply I’m glad you answer.
I can assure you that I have everything setup correctly on my calendar and that events are there, i’m trying to replicate a make.com that is currently working.

But to update the issue, I saw that the time zone might be in question here. I started a new topic for that