Linkedin V1 update-comments-as-company api throws 500 error code

浪尽此生 提交于 2019-12-10 10:26:29

问题


We are using Linkedin v1 api update-comments-as-company endpoint to post comments on behalf of company page managed by the user. Nowadays this endpoint throws 500 error response while trying to add comment.

Example request:

curl -X POST -H "Authorization: Bearer xxxx" -H "Content-Type: application/json" -H "x-li-format: json" 'https://api.linkedin.com/v1/companies/12345/updates/key=UPDATE-c12345-640455667889990765/update-comments-as-company' --data '{"comment": "Posting as a company!"}'

Response:

{
  "errorCode": 0,
  "message": "Internal service error",
  "requestId": "OBVNKWRJDC",
  "status": 500,
  "timestamp": 1528183732917
}

Kindly help me to resolve this.

来源:https://stackoverflow.com/questions/50694581/linkedin-v1-update-comments-as-company-api-throws-500-error-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!