2

我正在适当地GET致电:

https://outlook.office365.com/ews/odata/Me/Contacts?$orderby=DisplayName

不幸的是,大约每 15 个调用中就有一个失败,但有以下例外。

有什么想法有什么问题吗?

"{\"error\":{\"code\":\"ErrorInvalidPropertyRequest\",\"message\":\"Property is not valid for this object type.\",\"innererror\":{\"message\":\"\\\"Exchange service returned error ErrorInvalidPropertyRequest: Property is not valid for this object type.\\\".\",\"type\":\"Microsoft.Exchange.Services.ExchangeService.ExchangeServiceErrorResponseException\",\"stacktrace\":\"   at Microsoft.Exchange.Services.ExchangeService.ExchangeServiceHelper.CheckResponse(IExchangeWebMethodResponse response, ExecutionOption option)\\r\\n   at Microsoft.Exchange.Services.ExchangeService.ExchangeServiceBase.InvokeServiceCommand[TResponse](Func`1 commandCreator, ExecutionOption executionOption)\\r\\n   at Microsoft.Exchange.Services.OData.Model.ContactProvider.InternalRead(String ewsId, ContactQueryAdapter queryAdapter)\\r\\n   at Microsoft.Exchange.Services.OData.Model.ContactProvider.Find(String parentFolderId, ContactQueryAdapter queryAdapter)\\r\\n   at Microsoft.Exchange.Services.OData.Model.FindContactsCommand.InternalExecute()\\r\\n   at Microsoft.Exchange.Services.OData.ODataCommand`2.Execute()\\r\\n   at Microsoft.Exchange.Services.OData.ODataTask.Execute(TimeSpan queueAndDelayTime, TimeSpan totalTime)\"}}}"
4

0 回答 0