Answered by:
outlook.office365.com REST api error

Question
-
Hi,
I got an weird error trying to get all events for a user using Rest API provided.
I got an access to this users calendar using https://outlook.office365.com/owa/some@user.com/?offline=disabled#path=/calendar
But in Rest api using https://outlook.office365.com/api/v1.0/users/some@user.com/events/ i got:
Server Error in '/API' Application.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] [FileLoadException: Could not load file or assembly 'Microsoft.Exchange.AirSync, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] Microsoft.Exchange.Services.Core.Types.CallContext.DisposeOwaFields() +0 Microsoft.Exchange.Services.Core.Types.CallContext.Dispose(Boolean isDisposing) +864 Microsoft.Exchange.Services.OData.ODataContext.InternalDispose(Boolean disposing) +82 Microsoft.Exchange.Diagnostics.DisposeTrackableBase.Dispose() +80 Microsoft.Exchange.Diagnostics.DisposeTrackableBase.Dispose() +80 Microsoft.Exchange.Services.OData.Web.HttpHandler.EndProcessRequest(IAsyncResult result) +24 System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +282
- Edited by Jurijs Kobecs Tuesday, February 3, 2015 8:06 AM
Tuesday, February 3, 2015 8:05 AM
Answers
-
Hi Jurijs,
According to your description, I think this issue is in the server site, I suggest that you could raise an Office 365 support incident in Office 365 dashboard to contact Office 365 support team to check this issue on the server side.
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by Starian chenMicrosoft contingent staff Wednesday, February 11, 2015 2:45 AM
- Unproposed as answer by Starian chenMicrosoft contingent staff Wednesday, February 11, 2015 2:45 AM
- Proposed as answer by Starian chenMicrosoft contingent staff Wednesday, February 11, 2015 2:46 AM
- Marked as answer by George Hua Wednesday, February 11, 2015 11:50 AM
Wednesday, February 4, 2015 9:37 AM
All replies
-
Hello Jurijs,
I'd suggest asking Office 365 specific questions on the SharePoint 2013 - Development and Programming forum instead.
The current forum is for Microsoft Office Outlook (not the web edition).
Tuesday, February 3, 2015 9:52 AM -
Hi Jurijs,
This is a server side error, you should contact the Office 365 support to ask them check this issue on the server side.
Tuesday, February 3, 2015 11:52 AM -
Hi Jurijs,
According to your description, I think this issue is in the server site, I suggest that you could raise an Office 365 support incident in Office 365 dashboard to contact Office 365 support team to check this issue on the server side.
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by Starian chenMicrosoft contingent staff Wednesday, February 11, 2015 2:45 AM
- Unproposed as answer by Starian chenMicrosoft contingent staff Wednesday, February 11, 2015 2:45 AM
- Proposed as answer by Starian chenMicrosoft contingent staff Wednesday, February 11, 2015 2:46 AM
- Marked as answer by George Hua Wednesday, February 11, 2015 11:50 AM
Wednesday, February 4, 2015 9:37 AM