I’m running into an issue with the LinkedIn node throwing this error when trying to create a post:
Your request is invalid or could not be processed by the service. Requested version 20250401 is not active
Here’s what I’ve already tried:
Updated n8n from 2.9.4 to 2.16.1
Deleted the LinkedIn node and added a fresh one
Checked community nodes — LinkedIn is a built-in node so no update available there
The error persists even on a brand new node, which tells me the API version 20250401 is hardcoded into the node itself and there’s no UI field to change it.
@Asim_Arman the fix is merged in PR #28564 but not released yet, so updating n8n won’t help right now. If you’re on Docker you can patch it directly without switching to HTTP Request — run this in your container:
sed -i "s/'LinkedIn-Version': '[0-9]*'/'LinkedIn-Version': '202604'/" /usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/LinkedIn/GenericFunctions.js
then restart n8n. LinkedIn sunset the 202504 version and the node had it hardcoded, just needs 202604. You’ll have to re-run the sed after each n8n update until the fix ships in a release.
@Asim_Arman since you’re not on Docker, for the HTTP Request node set LinkedIn-Version to 202601 — all those older ones you tried (202401 through 202504) are sunset. If 202601 doesn’t work try 202603, that’s the latest active marketing API version right now.
@Benjamin_Behrens The Https request has worked, I ran some other issues but it was fixable,
for example like i had to make sure the scope was correct and also set up two other Https nodes, so that the picture was uploaded with the text.
Anyways it has worked, marking it as solution, thanks !