尝试将 UGC Post 发布为组织 return(403 - 处理字段时出现数据处理异常 [/author])

Trying to publish a UGC Post as organisation return (403 - Data Processing Exception while processing fields [/author])

基本上我正在尝试 post 作为使用管理员用户令牌的组织,但我收到 403 错误:

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

这是请求

{
      method: 'post',
      url: 'https://api.linkedin.com/v2/ugcPosts',
      headers: {
        'Content-Type': 'application/json',
        'Authorization': 'Bearer '+ organisationAdminToken,
        'cache-control': 'no-cache',
        'x-li-format': 'json',
        'X-Restli-Protocol-Version': '2.0.0'
      },
      data: {
        author: 'urn:li:organisation:xxxxxxxx',
        lifecycleState: 'PUBLISHED',
        specificContent: { 'com.linkedin.ugc.ShareContent': {
                                                            'com.linkedin.ugc.ShareContent': {
                                                                shareCommentary: { text: 'Testing Linkedin Page Publishing' },
                                                             },
        visibility: { 'com.linkedin.ugc.MemberNetworkVisibility': 'PUBLIC' }
      }
    }

这是管理员令牌的令牌检查结果:

 {
  active: true,
  client_id: 'xxxxx',
  authorized_at: 1653396511,
  created_at: 1653396511,
  status: 'active',
  expires_at: 1658580512,
  scope: 'r_basicprofile,r_emailaddress,r_member_social,r_organization_social,rw_organization_admin,w_member_social,w_organization_social',
  auth_type: '3L'
}

已解决!问题就在这里

    author: 'urn:li:organisation:xxxxxxxx',

应该是 organization 而不是 organisation :)