I am trying to start a workflow, when a new commit comes into a Github repo, it triggers the N8N workflow. I have also created a Github webhook in this format in the repo: https://github.com//N8N-test/settings/hooks
The repo and my github account are connected (I can click on Link button and it redirects me to the correct URL), so no problem there. I have created the repo, so I am the owner and right now there is only a Readme.md file.
## What is the error message (if any)?
Cannot read properties of undefined (reading 'httpCode')
## Please share your workflow
Just a GitHub trigger node on everything (*).
(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.)
Information on your n8n setup
n8n version: 1.103.2
Database (default: SQLite): Default
n8n EXECUTIONS_PROCESS setting (default: own, main): own
Running n8n via (Docker, npm, n8n cloud, desktop app): Localhost
I’m having the same issue with n8n version 1.102.4.
When I enable debug console logging I see this: 18:43:37.733 error 400 Cannot read properties of undefined (reading 'httpCode') { "file": "response-helper.js", "function": "sendErrorResponse" }
Turns out it’s a small bug in the Github Trigger node:
When the webhook is missing, the code throws on error.cause.httpCode (which is undefined) before it can clear the stored webhookId from getWorkflowStaticData('node'). That leaves the node thinking the webhook still exists and causes the crash.
I’ve opened a PR that switches to error.httpCode and properly clears the static data:
Once it’s merged, updating to the next n8n release should fix the issue.
@lukyn76 / @jabbson I’m encountering this exact same issue creating a super simple flow that receives a webhook from github for created issues. Are you saying that the Github trigger node is just plain busted until the next release? That can’t be right.
… for kicks, I tried the official github→notion example template and it still gives the same error when I plug in my valid github/notion credentials and update the trigger node of the imported template to those credentials ( + updating my github webhook url) …. I feel like since is the very FIRST thing I’ve attempted on n8n it’s probably user error somehow … if not, uh, yikes, this doesn’t bode well for switching over from Make.com (which i don’t love)