Describe the issue/error/question
Cannot activate my workflow - manual execution works
What is the error message (if any)?
UI-Message:
Workflow could not be activated:
UNKNOWN ERROR - check the detailed error for more information
Show Details
Issue Trigger: Validation Failed
ServerLog:
ERROR RESPONSE
NodeApiError: UNKNOWN ERROR - check the detailed error for more information
at Object.githubApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GenericFunctions.js:37:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.checkExists (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GithubTrigger.node.js:331:25)
... 3 lines matching cause stack trace ...
at async /usr/local/lib/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
context: {},
cause: NodeApiError: The resource you are requesting could not be found
at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:823:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.githubApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GenericFunctions.js:34:16)
at async Object.checkExists (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GithubTrigger.node.js:331:25)
at async ActiveWorkflowRunner.addWorkflowWebhooks (/usr/local/lib/node_modules/n8n/dist/src/ActiveWorkflowRunner.js:255:39)
at async ActiveWorkflowRunner.add (/usr/local/lib/node_modules/n8n/dist/src/ActiveWorkflowRunner.js:439:13)
at async /usr/local/lib/node_modules/n8n/dist/src/Server.js:645:21
at async /usr/local/lib/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
context: {},
cause: Error: Request failed with status code 404
at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (node:events:539:35)
at IncomingMessage.emit (node:domain:475:12)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
config: undefined,
request: undefined,
response: [Object],
isAxiosError: true,
toJSON: [Function: toJSON],
cause: {},
error: [Object],
statusCode: 404,
options: [Object]
},
timestamp: 1655814499603,
node: {
parameters: [Object],
name: 'ts-tools Issue Trigger',
type: 'n8n-nodes-base.githubTrigger',
typeVersion: 1,
position: [Array],
webhookId: 'c752cf07-47e9-41de-b77a-0f9da59a8a0b',
credentials: [Object]
},
httpCode: '404',
description: 'Not Found'
},
timestamp: 1655814499603,
node: {
parameters: {
authentication: 'oAuth2',
owner: 'nidomiro',
repository: 'ts-tools',
events: [Array]
},
name: 'ts-tools Issue Trigger',
type: 'n8n-nodes-base.githubTrigger',
typeVersion: 1,
position: [ -720, 140 ],
webhookId: 'c752cf07-47e9-41de-b77a-0f9da59a8a0b',
credentials: { githubOAuth2Api: [Object] }
},
httpCode: null,
description: 'Not Found'
}
ERROR RESPONSE
NodeApiError: UNKNOWN ERROR - check the detailed error for more information
at Object.githubApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GenericFunctions.js:37:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.create (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GithubTrigger.node.js:365:40)
... 3 lines matching cause stack trace ...
at async /usr/local/lib/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
context: {},
cause: NodeApiError: Your request is invalid or could not be processed by the service
at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:823:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.githubApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GenericFunctions.js:34:16)
at async Object.create (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Github/GithubTrigger.node.js:365:40)
at async ActiveWorkflowRunner.addWorkflowWebhooks (/usr/local/lib/node_modules/n8n/dist/src/ActiveWorkflowRunner.js:257:21)
at async ActiveWorkflowRunner.add (/usr/local/lib/node_modules/n8n/dist/src/ActiveWorkflowRunner.js:439:13)
at async /usr/local/lib/node_modules/n8n/dist/src/Server.js:645:21
at async /usr/local/lib/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
context: {},
cause: Error: Request failed with status code 422
at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (node:events:539:35)
at IncomingMessage.emit (node:domain:475:12)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
config: undefined,
request: undefined,
response: [Object],
isAxiosError: true,
toJSON: [Function: toJSON],
cause: {},
error: [Object],
statusCode: 422,
options: [Object]
},
timestamp: 1655814585719,
node: {
parameters: [Object],
name: 'Issue Trigger',
type: 'n8n-nodes-base.githubTrigger',
typeVersion: 1,
position: [Array],
webhookId: 'c752cf07-47e9-41de-b77a-0f9da59a8a0b',
credentials: [Object]
},
httpCode: '422',
description: 'Validation Failed'
},
timestamp: 1655814585719,
node: {
parameters: {
authentication: 'oAuth2',
owner: 'nidomiro',
repository: 'ts-tools',
events: [Array]
},
name: 'Issue Trigger',
type: 'n8n-nodes-base.githubTrigger',
typeVersion: 1,
position: [ -720, 140 ],
webhookId: 'c752cf07-47e9-41de-b77a-0f9da59a8a0b',
credentials: { githubOAuth2Api: [Object] }
},
httpCode: null,
description: 'Validation Failed'
}
Please share the workflow
Information on your n8n setup
Im running the container n8nio/n8n:0.182.1 with a postgres-db