← Back to notes
Tip

Don't use the n8n default LinkedIn node. It just won't work.

Default OAuth2 credential form with unchecked scopes and an “insufficient_scope” error, pointing via arrow to a custom OAuth2 setup with body authentication and all scopes checked.

Don't use the n8n Predefined LinkedIn Credentials. It just won't work.

On n8n the predefined LinkedIn Credential is missing scopes. Even though you've set up your LinkedIn app properly, and the app itself has the scopes, the predefined credential does not. If you want to do things like get organisation posts and store them for later analysis, you actually need to set up your own OAuth2 connector. Otherwise you'll keep getting scope errors and run around in circles going "but my app has scopes, why isn't this working?"

It's a relatively simple fix. The image below gives you what you need to put into the setting screen.Select the plain OAuth2 API from the credentials in n8n to build your vanilla connection.

Dropdown menu showing OAuth2 API selected for adding new credential connection.
Select OAuth2 API

Then add the information from your LinkedIn App, as per the next image.

OAuth2 configuration screen with LinkedIn authorization and access token URLs, client ID, secret, scope, and auth query parameters.

While annoying, and wasting about two hours it did give us one interesting idea.

I could give us a neat way to create least permission connections. An oAuth connection that just has permissions to read posts, and another one that can actually create them. Could be quite handy as these workflows grow.Note:The screenshot was created by pasting the two actual images into nano-banana. And instructing it to do this:Combine these two screen shots. Blur out the client id for the app. circle the Authorisation Body setting as that is important. Part of our image production flows. So the image may not be exactly what you see in n8n but it's close enough to be useful.

behind the scenes

To continue reading

Don't use the n8n default LinkedIn node. It just won't work.

you need to sign up to Behind the Scenes or log in if you're already a member.

Signing up means you can help shape the experiments we run and get full access to Long Shares you can put to work in your own business.