Bug in LinkedIn Node

Describe the problem/error/question

LinkedIn node wont work

What is the error message (if any)?

From LinkedIn Error code 426

Full message

{ "status": 426, "code": "NONEXISTENT_VERSION", "message": "Requested version 20240401 is not active" }

Please share your workflow

Share the output returned by the last node

{
  "errorMessage": "Your request is invalid or could not be processed by the service",
  "errorDescription": "Requested version 20240401 is not active",
  "errorDetails": {
    "rawErrorMessage": [
      "426 - {\"status\":426,\"code\":\"NONEXISTENT_VERSION\",\"message\":\"Requested version 20240401 is not active\"}"
    ],
    "httpCode": "426"
  },
  "n8nDetails": {
    "nodeName": "LinkedIn",
    "nodeType": "n8n-nodes-base.linkedIn",
    "nodeVersion": 1,
    "resource": "post",
    "operation": "create",
    "time": "4/17/2025, 10:38:29 AM",
    "n8nVersion": "1.88.0 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "NodeApiError: Your request is invalid or could not be processed by the service",
      "    at ExecuteContext.linkedInApiRequest (C:\\Users\\DavidSoden\\AppData\\Local\\nvm\\v18.20.6\\node_modules\\n8n\\node_modules\\n8n-nodes-base\\nodes\\LinkedIn\\GenericFunctions.ts:71:9)",
      "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "    at ExecuteContext.execute (C:\\Users\\DavidSoden\\AppData\\Local\\nvm\\v18.20.6\\node_modules\\n8n\\node_modules\\n8n-nodes-base\\nodes\\LinkedIn\\LinkedIn.node.ts:278:22)",
      "    at WorkflowExecute.runNode (C:\\Users\\DavidSoden\\AppData\\Local\\nvm\\v18.20.6\\node_modules\\n8n\\node_modules\\n8n-core\\src\\execution-engine\\workflow-execute.ts:1156:9)",
      "    at C:\\Users\\DavidSoden\\AppData\\Local\\nvm\\v18.20.6\\node_modules\\n8n\\node_modules\\n8n-core\\src\\execution-engine\\workflow-execute.ts:1508:27",
      "    at C:\\Users\\DavidSoden\\AppData\\Local\\nvm\\v18.20.6\\node_modules\\n8n\\node_modules\\n8n-core\\src\\execution-engine\\workflow-execute.ts:2065:11"
    ]
  }
}

Information on your n8n setup

  • n8n version: = 1.88.0
  • Database (default: SQLite): = default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Scheduled
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Win 11 24H2

There was a topic just within last two days with exactly same problem and solution to it.
Did you try search feature of the forum?

I did and did not find any. but I did search and file a github item and found the solution there.

I fixed my local instance in the mean time…

line 41

Go to (and your path will vary depending on your os and installation type) but the key file is GenericFunctions.js

node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/LinkedIn/GenericFunctions.js

now update LN 41 to look like this…
LinkedIn-Version": "202504

I did now just find the post you may be refering to and posted my above temp fix there too. Thanks!