LinkedIn API Error: Insufficient Permissions for GET Userinfo

Oleg 30 Reputation points
2023-09-11T13:34:26.5233333+00:00

I'm encountering an issue with LinkedIn's API; I'm using OAuth 2.0 authentication, and have specified the 'profile' permission in the request. However, I'm seeing the error {"serviceErrorCode":100, "message":"Not enough permissions to access: GET /userinfo"}. I've double-checked that the permission is correctly specified in the request and consent screen, and that 'profile' permission is enabled in my app's developer dashboard. Despite reading the documentation, I'm still unable to solve this issue. Can anyone provide me with insights or suggestions? Thank you for your assistance.

Microsoft Entra Internet Access
Microsoft Entra Internet Access
A Microsoft Entra service that provides an identity-centric Secure Web Gateway that protects access to internet, software as a service (SaaS), and Microsoft 365 apps and resources.
26 questions
0 comments No comments
{count} vote

Accepted answer
  1. 2023-09-11T23:39:01.13+00:00

    Hello @Oleg , in order to be able to access https://api.linkedin.com/v2/userinfo you need to ensure you also include the openid scope with your access token request.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    1 person found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Nitin 0 Reputation points
    2024-05-02T19:44:12.9+00:00

    Hello Guys! I found the solution, I was trying api
    https://api.linkedin.com/v2/userinfo
    it's GET api but i have added bodyparameters in postman. once I removed them im getting the perfect response!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.