LinkedIn Node: Error fetching Person Name or ID

I am trying to use the LinkedIn node to create a post. My LinkedIn app credentials are correctly set up, and I have added all required scopes. However, the node fails when trying to fetch my Person Name or ID.

  • In the node:
    Error fetching options from LinkedIn under Person Name or ID.

  • When executing workflow:

    Problem running workflow
    The workflow has issues and cannot be executed for that reason.
    

    Error: Error fetching options from LinkedIn (no valid ID returned).

  • n8n version: 1.107.4

  • Database: SQLite (default)

  • n8n EXECUTIONS_PROCESS: own (default)

  • Running n8n via: Docker

  • Operating system: Windows 11 Pro

1 Like

Welcome @digsisaac !

That error usually happens when the LinkedIn app isn’t returning your profile ID. A couple of things to check:

  1. In your LinkedIn developer app, make sure you’ve added the r_liteprofile and w_member_social scopes. Without those, n8n can’t fetch your Person ID.

  2. Reconnect your LinkedIn credentials in n8n after updating scopes — old tokens sometimes don’t refresh properly.

  3. If you’re using an organization page, you’ll need the rw_organization_admin scope and to pick the Org ID instead of Person ID.

Quick test: try hitting the LinkedIn API manually with your token (/me endpoint). If that fails, it’s the app config, not n8n.

Once the API returns your ID correctly, the node should populate the dropdown and let you post.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.