Linkedin credentials unauthorized

Hello,

I’ve created an n8n workflow for social media automation, but I’m facing an issue with the LinkedIn posting step. Every 2–3 days, the LinkedIn node starts throwing a “credentials unauthorized” error. Once I reconnect the LinkedIn account, the workflow works normally again. However, this issue keeps recurring every few days. Has anyone experienced something similar or knows what might be causing it?

@Happy_Patel n8n’s LinkedIn node uses a standard “Share on LinkedIn” app, which LinkedIn gives a 60-day token and no refresh token, so n8n can’t auto-renew and you reconnect by hand. That part is normal, but only every ~60 days, not every 2-3.

A 2-3 day cycle means something is actively invalidating the token early. The usual culprit is the same LinkedIn account or app being re-authorized somewhere else, another n8n workflow with its own LinkedIn credential, a second n8n instance, or another posting tool using the same LinkedIn login. Each new authorization can revoke the previous token.

Is this account connected in more than one place, and is your app the standard one or Marketing Developer Platform-approved?

Yes i have connected my account more than one places and having standard one

That’s the cause. Each time that LinkedIn account is re-authorized on another tool or instance using the same LinkedIn app, LinkedIn rotates the token and revokes your n8n one, so it dies every couple of days instead of lasting the full 60.

Fix: give n8n its own dedicated LinkedIn developer app (its own client ID/secret) that nothing else uses, and don’t connect that app anywhere else. That isolates n8n’s token so the other tools re-authing won’t kill it.

You’ll still need to reconnect roughly every 60 days, since standard apps issue no refresh token. The only true auto-renewal is applying for LinkedIn’s Marketing Developer Platform, which unlocks refresh tokens.

Thank you @achamm

Your welcome! Feel free to mark one of your or my replies as the solution, and have a good day!