Skip to content

[Bug]: LINKEDIN_CREATE_LINKED_IN_POST fails with 426 NONEXISTENT_VERSION — SDK returns only 4 legacy actions despite 22 actions available in dashboard #3094

@samuelmemmi

Description

@samuelmemmi

SDK Language

TypeScript / Node.js SDK (@composio/core)

SDK Version

composio-core@0.5.39

Runtime Environment

Node.js v20.19.5 on macOS

Environment

Production Deployment

Describe the Bug

LINKEDIN_CREATE_LINKED_IN_POST returns a 426 error because Composio calls LinkedIn's API with LinkedIn-Version: 20241101 which LinkedIn has marked as inactive.

Additionally, there is a critical inconsistency between the dashboard and the SDK: the dashboard shows LinkedIn at version 20260316_00 with 22 available actions, but the SDK only returns 4 legacy actions — the new actions are completely inaccessible via the SDK.

Expected: post should be created successfully, and all 22 actions visible in the dashboard should be accessible via actions.list().

Steps to Reproduce

Connect a LinkedIn account via Composio OAuth
Execute LINKEDIN_CREATE_LINKED_IN_POST with a valid payload
Observe 426 error — Requested version 20241101 is not active
Run client.actions.list({ apps: 'linkedin' }) — observe only 4 actions returned despite 22 shown in dashboard

Minimal Reproducible Example

import { Composio } from 'composio-core';

const client = new Composio({ apiKey: process.env.COMPOSIO_API_KEY });

// Returns only 4 actions — dashboard shows 22
const actions = await client.actions.list({ apps: 'linkedin', limit: 100 });
console.log(actions.length); // → 4

// Fails with 426 NONEXISTENT_VERSION
const entity = await client.getEntity('my_entity_id');
const result = await entity.execute({
  actionName: 'LINKEDIN_CREATE_LINKED_IN_POST',
  params: {
    author: 'urn:li:person:XXXXX',
    commentary: 'Test post',
    visibility: 'PUBLIC',
    lifecycleState: 'PUBLISHED',
  },
});

Error Output / Stack Trace

{
  "data": {
    "message": "{\"status\":426,\"code\":\"NONEXISTENT_VERSION\",\"message\":\"Requested version 20241101 is not active\"}",
    "http_error": "426 Client Error: Upgrade Required for url: https://api.linkedin.com/rest/posts",
    "status_code": 426
  },
  "error": "{\"status\":426,\"code\":\"NONEXISTENT_VERSION\",\"message\":\"Requested version 20241101 is not active\"}",
  "successful": false
}

Reproducibility

  • Always reproducible
  • Intermittent / Sometimes
  • Happened once, can’t reproduce

Additional Context or Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions