Topic-icon LinkedIn channel creation error

Active Subscriptions:

None
While defining a Linkedin channel, we are receiving error:

Error code 404 received requesting data: {"status":404,"code":"RESOURCE_NOT_FOUND","message":"No virtual resource found"}.

How can we fix this?
The topic has been locked.
Support Specialist
1 year 6 months ago #69097 by mel
Replied by mel on topic LinkedIn channel creation error
This error is from trying to fetch the organization name for your LinkedIn company.

Can you please verify that
1. You have authenticated with LinkedIn before creating the channel
2. Your LinkedIn application is authorized for the Marketing Developer Program

If so, in /plugins/jfbconnect/provider_linkedin/provider/linkedin/channel/company.php at line 52 could you try replacing
$nameUrl = 'https://api.linkedin.com/v2/organizations/'.$orgId.'?projection=(name)';
with
$nameUrl = "https://api.linkedin.com/rest/organizations/" . $orgId;
to see if that has any effect?

-Melissa
The topic has been locked.
Active Subscriptions:

None
Marketing development program is not available in de the developer portal of LinkedIn (anymore?). Is it perhaps now called "Advertising API"?
The topic has been locked.
Active Subscriptions:

None
Also, changing the code results in the folowwing error:
{"status":400,"code":"VERSION_MISSING","message":"A version must be present. Please specify a version by adding the LinkedIn-Version header."}.
The topic has been locked.
Support Specialist
1 year 6 months ago #69100 by mel
Replied by mel on topic LinkedIn channel creation error
Could you actually change it back to the original code and then make sure you authenticate again on the front-end with your user? It should prompt for permissions - let me know what permissions it's requesting.

Yes, it's the Advertising API.
The topic has been locked.
Active Subscriptions:

None
See attachment for the requested right by the tool
Attachments:
The topic has been locked.
Active Subscriptions:

None
Also a screenshot of the reported errors in the linkedin developer portal.
Attachments:
The topic has been locked.
Support Specialist
1 year 6 months ago #69103 by mel
Replied by mel on topic LinkedIn channel creation error
Could you take a screenshot of the "OAuth 2.0 Scopes" section in your www.linkedin.com/developers/apps area for your app area?

I spent some time this morning changing over the calls for LinkedIn v2 to newer Rest API calls. The previous version of calls was working for me and the new way does as well on my test site, but perhaps the older ones were working because my app is older. When did you create your app? Would you like me to send you a test copy of the plugin with the new changes to see if it makes a difference?
The topic has been locked.
Active Subscriptions:

None
1 year 6 months ago - 1 year 6 months ago #69104 by [email protected]
Of course, see attachment. App was created on the 4th of November 2024.

And I'll be happy to test the test copy of the pluginĀ 

* now with actual attachment ..
Attachments:
Last edit: 1 year 6 months ago by [email protected].
The topic has been locked.
Active Subscriptions:

None
The test version version is also giving the same error. Any other ideas?
The topic has been locked.