LinkedIn v2 API:使用对多个组织实体统计信息请求的预测来获取标准化数据时出现500错误

问题描述

问题描述

从多个组织实体统计信息端点获取数据时,功能和资历标准数据的投影失败,并显示500错误代码和未知原因。

问题范围

受影响的端点

  • /v2/organizationalFollowerStatistics

  • /v2/organizationPageStatistics

  • /v2/brandPageStatistics

受影响的组织实体

  • 组织
  • 组织品牌

受影响的标准化数据

样品申请

GET "https://api.linkedin.com/v2/organizationalEntityFollowerStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:PAGE_ID&projection=(elements*(*,followerCountsByFunction*(*,function~),followerCountsBySeniority*(*,seniority~)))"

示例响应

{
  "elements": [
    {
      followerCountsBySeniority: [
        {
          "followerCounts": {
            "organicFollowerCount": 1,"paidFollowerCount": 0
           },"function!":{
             "message":"URN Resolution Failed for unkNown reasons.:com.linkedin.r2.RemoteInvocationException:GatewayException{_serviceErrorCode=null}","status":500
           },"function":"urn:li:seniority:2"
        }
      ]
    },{
      followerCountsByFunction: [
        {
          "followerCounts": {
            "organicFollowerCount": 1,"function":"urn:li:function:2"
         }
       ]
     },...
    ]
}

其他信息

  • 使用带有各自ID的/v2/seniority请求查询/v2/functionsGET端点会成功返回期望的数据。
  • 其他标准化数据(例如国家/地区,行业)的预测按预期工作。
  • 已授予应用程序许可范围:"r_emailaddress r_ads r_basicprofile r_liteprofile r_ads_reporting r_organization_social rw_organization_admin r_1st_connections_size"

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)