2015-04-02 38 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