Migrate To 0.180.0 - Webhook not working

After updating from 0.83.0 to 0.180.0, My webhook not working.

The webhook was run, But it does not go beyond the first node.

You can see the workflow. In the workflow, “Function2” was running and succeeded in the return output. But I do not know what will happen next.

The only thing I noticed from the log is that “Function2” is fully and correctly executed.

Server Log:


2022-06-09T04:12:26.309660604Z 2022-06-09T04:12:26.309Z | debug    | Received webhoook "POST" for path "11fa88c2-6747-4cc8-8c4d-071f51e447b8" {"file":"ActiveWorkflowRunner.js","function":"executeWebhook"}
2022-06-09T04:12:26.339932248Z 2022-06-09T04:12:26.339Z | verbose  | Started execution of workflow "webhook-setscore" from webhook with execution ID 35939 {"executionId":"35939","file":"WebhookHelpers.js","function":"executeWebhook"}
2022-06-09T04:12:27.326197543Z 2022-06-09T04:12:27.326Z | debug    | Received child process message of type start for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.331754299Z 2022-06-09T04:12:27.330Z | verbose  | Initializing n8n sub-process {"pid":539,"workflowId":17,"file":"WorkflowRunnerProcess.js","function":"runWorkflow"}
2022-06-09T04:12:27.522891925Z 2022-06-09T04:12:27.522Z | verbose  | Workflow execution started {"workflowId":17,"file":"WorkflowExecute.js","function":"processRunExecutionData"}
2022-06-09T04:12:27.526919030Z 2022-06-09T04:12:27.526Z | debug    | Received child process message of type processHook for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.527080705Z 2022-06-09T04:12:27.526Z | debug    | Executing hook (hookFunctionsPush) {"executionId":"35939","workflowId":17,"file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteBefore"}
2022-06-09T04:12:27.527250052Z 2022-06-09T04:12:27.527Z | debug    | Start processing node "Webhook1" {"node":"Webhook1","workflowId":17,"file":"WorkflowExecute.js"}
2022-06-09T04:12:27.527505526Z 2022-06-09T04:12:27.527Z | debug    | Received child process message of type processHook for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.527548851Z 2022-06-09T04:12:27.527Z | debug    | Running node "Webhook1" started {"node":"Webhook1","workflowId":17,"file":"WorkflowExecute.js"}
2022-06-09T04:12:27.528089768Z 2022-06-09T04:12:27.527Z | debug    | Running node "Webhook1" finished successfully {"node":"Webhook1","workflowId":17,"file":"WorkflowExecute.js"}
2022-06-09T04:12:27.528832118Z 2022-06-09T04:12:27.528Z | debug    | Received child process message of type processHook for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.528942442Z 2022-06-09T04:12:27.528Z | debug    | Start processing node "Function2" {"node":"Function2","workflowId":17,"file":"WorkflowExecute.js"}
2022-06-09T04:12:27.529294882Z 2022-06-09T04:12:27.529Z | debug    | Received child process message of type processHook for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.529489253Z 2022-06-09T04:12:27.529Z | debug    | Running node "Function2" started {"node":"Function2","workflowId":17,"file":"WorkflowExecute.js"}
2022-06-09T04:12:27.577228133Z  *************************** webhook set score
2022-06-09T04:12:27.577542461Z {
2022-06-09T04:12:27.577552662Z   headers: {
2022-06-09T04:12:27.577556452Z     host: 'n8n-release.wini.games',
2022-06-09T04:12:27.577559940Z     'content-type': 'application/json',
2022-06-09T04:12:27.577563630Z     'user-agent': 'PostmanRuntime/7.26.8',
2022-06-09T04:12:27.577566783Z     accept: '*/*',
2022-06-09T04:12:27.577569892Z     'cache-control': 'no-cache',
2022-06-09T04:12:27.577572893Z     'postman-token': 'e7659d68-0fef-4bf5-a3d8-ee1b6ce0baa3',
2022-06-09T04:12:27.577575873Z     'accept-encoding': 'gzip, deflate, br',
2022-06-09T04:12:27.577579022Z     'x-forwarded-proto': 'https',
2022-06-09T04:12:27.577581901Z     'x-forwarded-for': '144.217.229.92',
2022-06-09T04:12:27.577584815Z     'x-forwarded-host': 'n8n-release.wini.games',
2022-06-09T04:12:27.577587906Z     'x-forwarded-server': 'n8n-release.wini.games',
2022-06-09T04:12:27.577590887Z     'content-length': '401',
2022-06-09T04:12:27.577594341Z     connection: 'Keep-Alive'
2022-06-09T04:12:27.577607735Z   },
2022-06-09T04:12:27.577611884Z   params: {},
2022-06-09T04:12:27.577614878Z   query: {},
2022-06-09T04:12:27.577617982Z   body: {
2022-06-09T04:12:27.577621070Z     data: 'eyJtaSI6MjczMCwiY2kiOi0xMDAxNjc4Nzg5OTcyLCJnc24iOiJnYW1lX21hdGhfc3BlZWQiLCJ1aSI6OTYxNjYxODUsImNiIjoiaHR0cHM6Ly9uOG4tcmVsZWFzZS53aW5pLmdhbWVzL3dlYmhvb2svMTFmYTg4YzItNjc0Ny00Y2M4LThjNGQtMDcxZjUxZTQ0N2I4In0=',
2022-06-09T04:12:27.577624662Z     score: 3,
2022-06-09T04:12:27.577627564Z     params: 'eyJwMCI6IDMsInAxIjogMzQ4MDIsInAyIjogNDE2LjY0OTkwNTUxNzYsInAzIjogMC4wMTY3MzYsInA0IjogNDQsInA1IjogMCwicDYiOiAwLCJwNyI6IDIyLjUsInA4IjogNSwicDkiOiAyNywicDEwIjogMTN9'
2022-06-09T04:12:27.577631339Z   }
2022-06-09T04:12:27.577634451Z }
2022-06-09T04:12:27.578020714Z  *************************** webhook set score 1
2022-06-09T04:12:27.578070178Z  *************************** webhook set score 2
2022-06-09T04:12:27.578462690Z {
2022-06-09T04:12:27.578473370Z   "json": {
2022-06-09T04:12:27.578478347Z     "headers": {
2022-06-09T04:12:27.578482293Z       "host": "n8n-release.wini.games",
2022-06-09T04:12:27.578486431Z       "content-type": "application/json",
2022-06-09T04:12:27.578490156Z       "user-agent": "PostmanRuntime/7.26.8",
2022-06-09T04:12:27.578493813Z       "accept": "*/*",
2022-06-09T04:12:27.578497082Z       "cache-control": "no-cache",
2022-06-09T04:12:27.578507542Z       "postman-token": "e7659d68-0fef-4bf5-a3d8-ee1b6ce0baa3",
2022-06-09T04:12:27.578511442Z       "accept-encoding": "gzip, deflate, br",
2022-06-09T04:12:27.578514945Z       "x-forwarded-proto": "https",
2022-06-09T04:12:27.578518598Z       "x-forwarded-for": "144.217.229.92",
2022-06-09T04:12:27.578522108Z       "x-forwarded-host": "n8n-release.wini.games",
2022-06-09T04:12:27.578525541Z       "x-forwarded-server": "n8n-release.wini.games",
2022-06-09T04:12:27.578529019Z       "content-length": "401",
2022-06-09T04:12:27.578532367Z       "connection": "Keep-Alive"
2022-06-09T04:12:27.578535887Z     },
2022-06-09T04:12:27.578539248Z     "params": {},
2022-06-09T04:12:27.578542488Z     "query": {},
2022-06-09T04:12:27.578548570Z     "body": {
2022-06-09T04:12:27.578552413Z       "data": "eyJtaSI6MjczMCwiY2kiOi0xMDAxNjc4Nzg5OTcyLCJnc24iOiJnYW1lX21hdGhfc3BlZWQiLCJ1aSI6OTYxNjYxODUsImNiIjoiaHR0cHM6Ly9uOG4tcmVsZWFzZS53aW5pLmdhbWVzL3dlYmhvb2svMTFmYTg4YzItNjc0Ny00Y2M4LThjNGQtMDcxZjUxZTQ0N2I4In0=",
2022-06-09T04:12:27.578556372Z       "score": 3,
2022-06-09T04:12:27.578559716Z       "params": "eyJwMCI6IDMsInAxIjogMzQ4MDIsInAyIjogNDE2LjY0OTkwNTUxNzYsInAzIjogMC4wMTY3MzYsInA0IjogNDQsInA1IjogMCwicDYiOiAwLCJwNyI6IDIyLjUsInA4IjogNSwicDkiOiAyNywicDEwIjogMTN9",
2022-06-09T04:12:27.578563643Z       "dataParsed": {
2022-06-09T04:12:27.578566949Z         "mi": 2730,
2022-06-09T04:12:27.578570395Z         "ci": -1001678789972,
2022-06-09T04:12:27.578573755Z         "gsn": "game_math_speed",
2022-06-09T04:12:27.578577172Z         "ui": 96166185,
2022-06-09T04:12:27.578580553Z         "cb": "https://n8n-release.wini.games/webhook/11fa88c2-6747-4cc8-8c4d-071f51e447b8",
2022-06-09T04:12:27.578584141Z         "targetId": -1001678789972,
2022-06-09T04:12:27.578587511Z         "query": "chatId"
2022-06-09T04:12:27.578590784Z       },
2022-06-09T04:12:27.578593975Z       "paramsParsed": {
2022-06-09T04:12:27.578601265Z         "p0": 3,
2022-06-09T04:12:27.578605597Z         "p1": 34802,
2022-06-09T04:12:27.578608975Z         "p2": 416.6499055176,
2022-06-09T04:12:27.578612174Z         "p3": 0.016736,
2022-06-09T04:12:27.578615301Z         "p4": 44,
2022-06-09T04:12:27.578618766Z         "p5": 0,
2022-06-09T04:12:27.578622033Z         "p6": 0,
2022-06-09T04:12:27.578625245Z         "p7": 22.5,
2022-06-09T04:12:27.578628517Z         "p8": 5,
2022-06-09T04:12:27.578631802Z         "p9": 27,
2022-06-09T04:12:27.578635083Z         "p10": 13
2022-06-09T04:12:27.578638275Z       }
2022-06-09T04:12:27.578645013Z     }
2022-06-09T04:12:27.578648415Z   },
2022-06-09T04:12:27.578651639Z   "pairedItem": {
2022-06-09T04:12:27.578655011Z     "item": 0
2022-06-09T04:12:27.578658368Z   }
2022-06-09T04:12:27.578661537Z }
2022-06-09T04:12:27.578730232Z  *************************** webhook set score 2.1
2022-06-09T04:12:27.578737289Z  *************************** webhook set score 2.2
2022-06-09T04:12:27.579655306Z 2022-06-09T04:12:27.579Z | debug    | Running node "Function2" finished successfully {"node":"Function2","workflowId":17,"file":"WorkflowExecute.js"}
2022-06-09T04:12:27.605521926Z 2022-06-09T04:12:27.605Z | debug    | Received child process message of type processHook for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.605713841Z 2022-06-09T04:12:27.605Z | debug    | Executing hook (hookFunctionsSave) {"executionId":"35939","workflowId":17,"file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteAfter"}
2022-06-09T04:12:27.605865580Z 2022-06-09T04:12:27.605Z | debug    | Save execution data to database for execution ID 35939 {"executionId":"35939","workflowId":17,"finished":false,"stoppedAt":"2022-06-09T04:12:27.579Z","file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteAfter"}
2022-06-09T04:12:27.607267311Z 2022-06-09T04:12:27.607Z | debug    | Received child process message of type end for execution ID 35939. {"executionId":"35939","file":"WorkflowRunner.js"}
2022-06-09T04:12:27.607928635Z 2022-06-09T04:12:27.607Z [Rudder] debug: no existing flush timer, creating new one
2022-06-09T04:12:27.628737314Z 2022-06-09T04:12:27.628Z | debug    | Executing hook (hookFunctionsPush) {"executionId":"35939","workflowId":17,"file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteAfter"}
2022-06-09T04:12:45.357913231Z 2022-06-09T04:12:45.357Z | debug    | Wait tracker querying database for waiting executions {"file":"WaitTracker.js","function":"getwaitingExecutions"}
2022-06-09T04:12:47.609125067Z 2022-06-09T04:12:47.608Z [Rudder] debug: in flush
2022-06-09T04:12:47.609198882Z 2022-06-09T04:12:47.608Z [Rudder] debug: cancelling existing flushTimer...
2022-06-09T04:12:47.609429620Z 2022-06-09T04:12:47.609Z [Rudder] debug: batch size is 1
2022-06-09T04:13:08.119855740Z 2022-06-09T04:13:08.119Z [Rudder] debug: in flush
2022-06-09T04:13:08.120030931Z 2022-06-09T04:13:08.119Z [Rudder] debug: cancelling existing timer...
2022-06-09T04:13:08.120118147Z 2022-06-09T04:13:08.119Z [Rudder] debug: queue is empty, nothing to flush

I run this workflow manually with mock data and work fine. I don’t know what happened with webhook

Mock-Workflow: (I removed some nodes that can be uploaded here)

When open execution’s of this workflow see this error notification:

Failed execution
There was a problem executing the workflow:
"Cannot set properties of undefined (setting 'Merge')"

Hi @Ebrahim_Karimi, I am sorry to hear you’re having trouble. For the time being you might want to downgrade to 0.179.0 and follow the other thread on this topic: Error in workflow: "Cannot set properties of undefined (setting 'Merge')"

1 Like

Thank you for the fast replay :slightly_smiling_face:

No worries, I am really sorry for the trouble :frowning: