1

当我访问托管在共享点中的一个笔记时,我收到以下响应。如何克服这个错误?

{StatusCode: 429, ReasonPhrase: 'Too Many Requests', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  X-CorrelationId: b5a8785e-0260-43de-b3a5-da0e3b8d28a7
  X-UserSessionId: b5a8785e-0260-43de-b3a5-da0e3b8d28a7
  X-OfficeFE: OneNoteServiceFrontEndApi_IN_1
  X-OfficeVersion: 16.0.6701.1550
  X-OfficeCluster: wus-zzz.www.onenote.com
  X-Content-Type-Options: nosniff
  X-AuthenticatedUserId: ORGID-E8B97416-D14B-4F5D-9059-AF7E93AE7DA1
  OData-Version: 4.0
  Cache-Control: no-cache
  P3P: CP="CAO DSP COR ADMa DEV CONi TELi CUR PSA PSD TAI IVDi OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR"
  Server: Microsoft-IIS/8.5
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  X-Powered-By: ASP.NET
  Date: Wed, 03 Feb 2016 19:43:34 GMT
  Content-Length: 153
  Content-Type: application/json; charset=utf-8; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false
  Expires: -1
}}
4

1 回答 1

0

您(或代表您的任何应用程序)是否几乎同时发出了几个请求?如果是这样,那么您需要确保不要用请求淹没 API。

于 2016-02-03T22:01:54.957 回答