我正在开发一个Node App .

用户通过身份验证后,需要获取以获取Outlook联系人 .

该API是https://graph.microsoft.com/v1.0/me/contacts

我得到10个批次的联系人 . 有一个@ odata.nextLink参数来获取接下来的10个联系人,但在中间,收集50-70个联系人之后,我收到了这个错误 .

令牌无效,因为其有效期为1小时 .

这是我得到的错误

{
  "error": {
    "code": "InvalidAuthenticationToken",
    "message": "Unable to initialize RPS",
    "innerError": {
      "request-id": "81b399f0-ca5d-4e4d-b696-0052531f607d",
      "date": "2016-06-30T12:23:13"
    }
  }
}