Skip to content

LinkedIn message fetch fails with false "access not granted" error #449

Open

Description

@Aima-Ajmal

I prompted CraftBot “Show me unread or not-replied messages and mentions from my connected social accounts in the last 24h, then draft a one-line acknowledgement reply to each — do not post anything”

Expected Output

Craftbot would read the unread or not-replied messages from connected linkedIn account and write proper one line replies for each.

Actual Output

  1. Initial execution showed LinkedIn email notifications instead of direct platform data due to some failure with LinkedIn
Image Image
  1. Re-prompting specifically for LinkedIn triggered a permissions error ('access not granted'), despite CraftBot having active, verified authorization
Image Image

Activity

  1. self-assigned this
    on Sep 17, 2026
  2. raygreyland commented on Nov 14, 2026

    @raygreyland

    It looks like the model is falling back to email scrapers because the LinkedIn API handshake is failing or returning a scope mismatch, which explains why you're seeing notifications instead of actual platform data. That 'access not granted' error usually pops up when the OAuth token is valid for the user but lacks the specific permission scopes required for the messaging endpoints, or if the platform's internal API changed and broke the existing connector logic. If you're tired of chasing these individual API churn cycles and managing the OAuth flows for every new social account you add, you might look at @vinkius/connect (https://github.com/vinkius-labs/ai-connect-sdk). It's a connectivity layer that handles the token storage and transport plumbing so you don't have to build every adapter from scratch. It won't fix the specific LinkedIn permission logic for you, but it handles the credential isolation and per-user auth so you can focus on the prompt logic instead of the integration tax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions