Skip to content

Error 403 | Not enough permissions to access: me.GET.NO__VERSION #35

@rodnnnney

Description

@rodnnnney

I am trying to get a linkedIn Dev app working, I want to be able to automate posts on Linkedin but I'm running into some auth problems. To automate posts, it requires a urn:li:person and that is what I seem to have trouble getting.

I've set up the following components and running into the following issues.

This is authtoken with the email, openid, profile, w_member_social.
Screenshot 2024-12-19 at 9 27 47 AM

Sign In with LinkedIn using OpenID Connect and Share on LinkedIn
Screenshot 2024-12-19 at 9 28 27 AM

I am running:

curl -X GET -H "Authorization: Bearer <TOKEN>" https://api.linkedin.com/v2/me

But I am getting a

{"status":403,"serviceErrorCode":100,"code":"ACCESS_DENIED","message":"Not enough permissions to access: me.GET.NO_VERSION"} <= I am using the access code from above with email, openid, profile, w_member_social permissions.

I've also tried: https://learn.microsoft.com/en-us/linkedin/shared/authentication/client-credentials-flow?tabs=cURL1#step-3-make-api-requests

with the 2 legged auth where you structure the request like:

curl --location --request POST 'https://www.linkedin.com/oauth/v2/accessToken' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id={your_client_id}' \
--data-urlencode 'client_secret={your_client_secret}'

Then I get this error of {"error":"access_denied","error_description":"This application is not allowed to create application tokens"}

Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    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