Linkedin subscription api: remove subscription

Yasmine Najar 1 Reputation point
2022-11-10T16:53:22.647+00:00

Hello,

I am using the subscription api: https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/organization-social-action-notifications?view=li-lms-2022-10&tabs=http

My app has a subsciption to a linkedin page, that i would like to remove, but i keep getting this error:

query (of course with the right headers : Authorization and X-Restli-Protocol-Version)

DELETE https://api.linkedin.com/v2/eventSubscriptions/(developerApplication:{urn%3Ali%3AdeveloperApplication%3Aapp_id},user:{urn%3Ali%3Aperson%3Aperson_id},entity:{urn%3Ali%3Aorganization%3Aorg_id},eventType:ORGANIZATION_SOCIAL_ACTION_NOTIFICATIONS)

error:
{
"serviceErrorCode": 100,
"message": "Field Value validation failed in RESOURCE_KEY: Data Processing Exception while processing fields [/key/developerApplication]",
"status": 403
}

Is the url encoding wrong?

Thanks!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
27,077 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 40,191 Reputation points
    2022-11-10T20:50:39.58+00:00

    Hi @Yasmine Najar

    Linkedin API is official support on StackOverflow:

    In an effort to boost support for our developer community, we moved our online support forum from the Developers site to StackOverflow.

    Cited from https://www.linkedin.com/help/linkedin/answer/a526157/using-stackoverflow-for-api-support?lang=en

    Please post there for support.

    ---------------------------------

    If this is helpful please accept answer.

    0 comments No comments