使用 linkedin api returns 评论 post 403 尽管我拥有所需的所有权限

Comment on a post using linkedin api returns 403 Although i have all permissions required

我正在尝试使用 SocailActions Api
对 post 发表评论 我正在使用以下权限 w_organization_social r_organization_social w_member_social
我以管理员身份登录,我试图代表该页面发表评论
我的要求是:

POST https://api.linkedin.com/v2/socialActions/urn%3Ali%3Ashare%3AXXXXXXXXXX/comments HTTP/1.1

Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Host: api.linkedin.com
cache-control: no-cache,
X-Restli-Protocol-Version: 2.0.0
Accept: application/json
Content-Type: application/json
Content-Length: 136

{
   "actor":"urn:li:organization:23741470",
  "object" :"urn:Al:share:6664163994204549120",
   "message":{
      "text":"tessst"
   }
}

我得到 403

{
    "serviceErrorCode": 100,
    "message": "Field Value validation failed in REQUEST_BODY: Data Processing Exception while processing fields [/actor]",
    "status": 403
}

当我尝试使用 ugcPost Api 到 post 新评论时,同样的事情发生了 有什么想法可能会导致这种情况吗?

我终于解决了这个问题,我删除了除内容类型和内容长度之外的所有 header 属性 然后它起作用了