LinkedIn 403 error

Getting this error in make an api call module linkedIn

Looks like this is the same issue as LinkedIn connection: 403: Not enough permissions to access - #8 by alex.newpath

First, try adding the same connection to this similar module “Create a User Text Post” that needs the same authentication scope, and Make will prompt you to update your permission scope for your connection.

Screenshot_2024-02-07_210246

3 Likes

Hey @sachinkadam5

I think this will help you

2 Likes

@samliew

It is not working for “make an api call” I want to create a Comment.

In that case, there are no suitable modules in the LinkedIn app that can possibly extend your LinkedIn Connection’s scope on Make.

You will need to use the generic HTTP “Make an OAuth 2.0 Request” module, so you can define your own scope, as described in the LinkedIn Developer API documentation.

For more information, see Make an OAuth 2.0 request

I’m sure others would agree that such a module (create a comment) is a nice feature to have.

You can submit this suggestion to the Idea exchange, under App improvement ideas.

Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
Screenshot_2024-01-17_130153

2 Likes

@samliew
Exactly i already know there is not any module present in make for this so i am using make an api module & using endpoint from linkedIn API Docs anr body content as per given in the docs. from microsoft
and mapping the “personid” & "ugcpost urn " which i am getting from my apify linkdin scrapping module.
But still getting the error

Yes, and like I mentioned, Make will not prompt you to extend the OAuth Scope when using the LinkedIn universal module like what you were trying to do.

The universal module did not work in this case, because when setting up your LinkedIn connection, Make did not request for all authorisation scopes, and you couldn’t extend the scope with the module I told you to try above.

Therefore the workaround is the one I mentioned in my previous post to use the HTTP integration/app.

This is not a bug, it’s just an incomplete LinkedIn integration. You can submit this suggestion to the Idea exchange, under App improvement ideas.

2 Likes

As @samliew mentioned, create a ‘Create a User Text Post’ module even though it doesn’t do what you need it to do.

This module will request additional permissions from LinkedIn, which might be enough for you to then use ‘Make an API call’ successfully

I had a similar problem yesterday - ‘Make an API call’ doesn’t request enough permissions from LinkedIn by itself. You first have to create and run some of the other LinkedIn modules to obtain the right permissions from LinkedIn. Then you should be all set.

If there’s no module that can obtain the right permissions then I guess you’re stuck…

That’s what I said, but @sachinkadam5 tried what I suggested, and said:

2 Likes