StatusCode:429使用APP访问sharepoint中托管的onenotes时的请求太多

时间:2016-02-03 19:52:11

标签: onenote onenote-api

当我访问在share-point中托管的单注释时,我收到以下响应。如何克服这个错误?

{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
}}

1 个答案:

答案 0 :(得分:0)

您(或代表您的任何应用程序)是否有大约同时发出的几个请求?如果是这样,那么您需要确保不要将API充满请求。