简体   繁体   English

Linkedin Connection API上的随机内部服务错误

[英]Random Internal Service Error on Linkedin Connection API

This is my very first question on StackOverflow, but it's always been a very useful source for answers. 这是我在StackOverflow上的第一个问题,但它始终是一个非常有用的答案来源。 So I hope someone - hopefully from the Linkedin engineer team as I was redirected here by Linkedin support - will be able to help me. 所以我希望有人 - 希望来自Linkedin工程师团队,因为我被Linkedin支持重定向 - 将能够帮助我。 I couldn't find any answer to that subject on the web (Twitter, other StackOverflow questions, and other forums). 我在网上找不到该主题的任何答案(Twitter,其他StackOverflow问题和其他论坛)。

So here is the problem : I've been using Linkedin API for two years now to display our users his/her Linkedin connections, and so far I've never had any problem with the following request generated by the simple-linkedin php library : 所以这就是问题所在:我已经使用Linkedin API两年了,以显示我们的用户他/她的Linkedin连接,到目前为止,我从未对simple-linkedin php库生成的以下请求有任何问题:

https://api.linkedin.com/v1/people/~/connections:(id,first-name,last-name,picture-url,public-profile-url,headline,location:(name))?start=0&count=500

Yet since yesterday, Linkedin started sending to some users a strange error. 然而从昨天开始,Linkedin开始向一些用户发送一个奇怪的错误。

<error>
 <status>500</status>
 <timestamp>1424451457253</timestamp>
 <request-id>HISKBDLSOA</request-id>
 <error-code>0</error-code>
 <message>Internal service error</message>
</error>

The error is really random, so it is really hard to reproduce. 错误实际上是随机的,因此很难重现。 More and more of our users get the error and it is starting to get critical for our app. 越来越多的用户收到错误,它开始变得对我们的应用程序至关重要。

I've read a similar thread regarding the Share API but not about the Connection API? 我已经阅读了关于Share API的类似线程但没有关于Connection API的信息? Did anyone already have that error and maybe found a workaround or even better a real solution? 有没有人已经有这个错误,也许找到了解决方法,甚至更好的解决方案?

Thanks in advance to anyone who could give me even the beginning of an explanation about what is going on.. 提前感谢任何能够给我开始解释正在发生的事情的人。

我通过减少每次请求的联系数量从500到250再次工作,并进行多轮,直到我得到所有联系人。

https://api.linkedin.com/v1/people/~/connections:(public-profile-url)?start=0&count=250&modified=updated

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM