LinkedIn API: Find Organization by Vanity Name endpoint returns 500 Internal Server Error
Asked Answered
N

0

6

I keep receiving 500 Internal Server Error for the endpoint "Find Organization by Vanity Name" . I tried with the 202307 and 202311 versions, but I get the same result. In the documentation, I didn't saw any changes.

https://learn.microsoft.com/en-us/linkedin/marketing/community-management/organizations/organization-lookup-api?view=li-lms-2023-11&tabs=http#find-organization-by-vanity-name

My request:

curl --location 'https://api.linkedin.com/rest/organizations?q=vanityName&vanityName=LinkedIn' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202311' \
--header 'X-Restli-Protocol-Version: 2.0.0' \
--header 'Authorization: Bearer ...

What I get:

{"message":"Internal Server Error","status":500}
Newhall answered 17/1 at 11:50 Comment(4)
I'm seeing the same behaviour, filed a support request to LinkedIn, did you figure out how to solve it on your end?Theodolite
@Gregory, Carina I've got the same problem, did Linkedin answered the support request?Franciscafranciscan
Seems like it works with the old domain path api.linkedin.com/v2/organizationsFranciscafranciscan
Hello and sorry for the late reply. I talked to them and they told me that this issue is going to be handled in 202312 version, but till then the version 202306 still works. I hope this helpNewhall

© 2022 - 2024 — McMap. All rights reserved.