Hi @Sonam kushwah ,
If you are including the scope r_liteprofile , you need to replace that scope with r_basicprofile. The minimal permissions allowed for /me access are r_basicprofile from version 202306 onward.
After updating the permissions, you need to wait at least five minutes before testing since there is a caching bug with the LinkedIn API access tokens.
There was a recent post on Stack Overflow documenting the same permissions error when trying to access that endpoint so your issue could be related to this.
If you have already included the r_basicprofile scope and removed the r_liteprofile scope but are still facing this issue, I would recommend creating a support ticket with LinkedIn Developer Platform.
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar issues.