'Not enough permissions to access: GET /me

I'm working the linkedin API.

After following the documentation, I 'm getting the access Token.

Then, I'm trying to get the logged in user data, but I have this error :

Not enough permissions to access: GET /me

I'm using this URL : https://api.linkedin.com/v2/me

And this as a scope : r_basicprofile

In my app, I have this list of permissions :

enter image description here

As you can see, i normally have access to r_basicprofile



Solution 1:[1]

Recently LinkedIn stopped all developer access of r_basicprofile.

You need to authorize with r_liteprofile then GET https://api.linkedin.com/v2/me will return result.

Follow Login with LinkedIn

Also Now OAuth 2.0 login is need. Process is explained in Login with LinedIn link ablove.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1