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

时间:2020-08-31 16:05:53

标签: linkedin linkedin-api

问题描述

从多个组织实体统计信息端点获取数据时,功能和资历标准数据的投影失败,并显示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,
            "paidFollowerCount": 0
           },
           "function!":{
             "message":"URN Resolution failed for unknown reasons.:com.linkedin.r2.RemoteInvocationException:GatewayException{_serviceErrorCode=null}",
             "status":500
           },
           "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"

0 个答案:

没有答案
相关问题