2015-04-02 61 views
0

我们正在LinkedIn群组中分享几个内部API错误。这非常令人伤心,因为我们不能在我们的最终解决方案中解决问题,请有人提供任何有关LinkedIn的支持来解决此问题(或者至少从我们的终端获得解决方法或解决方法的线索)的任何建议。谢谢 !!LinkedIn内部API错误500与群组共享

请求为:

  • URL:

    https://api.linkedin.com/v1/groups/1220767/posts?oauth2_access_token=*****
  • 方法:

    POST
  • 头:

    x-li-format:json 
    Content-Length:1233
  • 主体内容:

    {"title":"ATENCIÓN Nuevo Laredo? Buscamos: \"Gerente Regional de Operaciones\" Aplica en http://tltk.co/hjzjDNy","summary":"-","content":{"submitted-url":"http://tltk.co/hjzjDNy","submitted-image-url":"https://www.talenteca.com/assets/images/tk-storage/company-images/TK_COMPANY_LOGO-2015_03_27_09_07_18-50227656346988818491.jpg","title":"Gerente Regional Operaciones. Nuevo Laredo.","description":"Nuevo Laredo . \"Gerente Regional de Operaciones\" Nuevo Laredo.\r\nEscolaridad: Ingeniero Industrial, Ingeniero de transporte o Lic en Administración de Empresas. TITULADOS.\r\nInglés: 85%\r\nSexo: Indistinto\r\nExperiencia Indispensable en puesto similar de 3 a 5 años\r\n \r\nExperiencia como Gerente de Carga, embarque o tráfico, preferente en empresa de mensajería o logística administrando personal mando medio y operativo.\r\nExperiencia en distribución, logística y almacenaje.\r\n \r\nSupervisión de personal mando medio y operativo\r\nEstructura Operativa\r\nRutas locales y foráneas\r\nInvestigación de operaciones\r\nSeguridad patrimonial\r\nPlaneaciòn estratégica\r\nCriterios de embarque\r\nGuía de estiba\r\n \r\nDisponibilidad para Viajar constantemente\r\nPara trabajar en NUEVO LAREDO.\r\n "}}
  • 回应:

    { 
    "errorCode":0, 
    "message":"Internal API server error", 
    "requestId":"YFEEIWUU4G", 
    "status":500, 
    "timestamp":1427747517095 
    }

对不起真正的访问令牌混淆了明显的安全原因。

回答

0

我想这是因为内容类型

的1.增加了 “格式= JSON” 参数与您的API URL。

2.在header中设置content_type为application/json。

现在调用api并查看。

+0

太好了,我会试试看。谢谢@Naasheer你的好主意。 – 2015-04-03 07:59:22

+0

现在在测试环境中,会让你知道怎么回事 – 2015-04-03 10:19:05

+1

我们已经测试了这个解决方法,但不工作。任何其他想法Naasheer? ... 任何人 ? – 2015-04-04 07:35:22

0

你可以去这个链接,并与您的API creditials检查,天气的API的工作: https://apigee.com/console/linkedin

如果有问题的份额错误消息也是如此。

+0

谢谢你的回答。这实际上是LinkedIn的一个内部问题,即新的LinkedIn API更改和弃用的服务不再相关。 – 2015-08-21 18:11:11