Microsoft Graph error

This error has occurred once since installing V11, all accounts normally work well.
[Microsoft Graph] Message was not completely downloaded and thus no operations can be performed on it.

eM Client 11.0.1054+70b028aea4 (Windows)
12:22:57 PM [email protected] [Microsoft Graph] MailClient.Storage.Application.OperationException: Message was not completely downloaded and thus no operations can be performed on it.
—> MailClient.Storage.Application.Mail.NotDownloadedException: Message was not completely downloaded and thus no operations can be performed on it.
—> Microsoft.Graph.Beta.Models.ODataErrors.ODataError: AuthenticationException
at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponseAsync(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Beta.Users.Item.Messages.Item.Attachments.Item.AttachmentItemRequestBuilder.GetAsync(Action1 requestConfiguration, CancellationToken cancellationToken)
at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.<>c__DisplayClass42_0.<b__0>d.MoveNext()
— End of inner exception stack trace —
at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.<>c__DisplayClass42_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.GetItemContentInternal(IMailRepositoryItem item, IStoredMimePart basePart, String partName, CancellationToken cancellationToken)
at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.<>c__DisplayClass41_0.b__0(WorkerStatus status, CancellationToken cancellationToken)
at MailClient.Protocols.MSGraph.GenericMSGraphCommand.Execute(WorkerStatus status)
— End of inner exception stack trace —
at MailClient.Protocols.MSGraph.GenericMSGraphCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
AccountId = null
AccountName = null
RunInPlace = False
GUIStatus_Exception_Reported = True

Hi @John_A
Please provide me with a copy of your MS Graph log.

  1. Go to Menu>Settings>Advanced>Logging.
  2. Enable logging for MS Graph under the affected account.
  3. Click the "Clear Logs “ button.
  4. Click Save & Close
  5. Restart eM Client.
    After replicating the issue:
  6. Go to Menu > Help > Open log directory
  7. Send me the files (mailto:[email protected])

OK I’ll try that

That error hasn’t occurred again. But I have this intermittent error on a Google account:

12:27:17 PM [email protected] IMAP Synchronizing folder ‘/All Mail’
6:43:16 PM [email protected] Google Calendar Uploading item(s) to folder ‘/Calendar’
6:43:17 PM [email protected] [Google Calendar] MailClient.Storage.Application.ItemOperationException: Uploading event ‘500 at cat club’ on 3/03/2023 1:00:00 PM to calendar ‘[email protected]/Calendar’ failed due to the following error: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See Integrating Google Sign-In into your web app  |  Web guides  |  Google for Developers.
AccountId = 01a11d8d-a67a-762f-af49-197ad370c5c8
AccountName = [email protected]
Item.Type = MailClient.Storage.Application.Event.EventItem
UniqueItemId = 7e1enmr5eaaqb838h2uddtphbvcjivaj0uumvim6pinfqpmmocltdei0cc@google.com
GUIStatus_Exception_Reported = True
6:43:21 PM [email protected] IMAP Synchronizing folder ‘/All Mail’

MailClient.Storage.Application.ItemOperationException: Uploading event ‘500 at cat club’ on 3/03/2023 1:00:00 PM to calendar ‘[email protected]/Calendar’ failed due to the following error: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential.

Sounds like something has happened to your eM Client OAuth token in your Google Account and needs to be revoked / removed.

So suggest to “Close eM Client” and go to the following “Google Account Linked Apps page” and revoke / remove eM Client. Then reopen eM Client and you will see a popup box to re-allow eM Client access to your Google account.

Google Account Linked Apps
https://myaccount.google.com/linkedapps