Google XMPP and Outlook Exchange error

I’m getting this error once or twice a day here is the trimmed Log.
EM Client Version: 8.2.1237 (b402cf3)
Windows 10 Pro 64 Bit Version: 1909
OS Build: 18363.1500

> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Inbox’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Sent’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Trash’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Drafts’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Junk E-mail’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Calendar’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Tasks’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Contacts’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Notes’
> 12:25:58 Outlook Exchange Web Services Synchronizing folder ‘/Archive’
> 12:26:00 Outlook Exchange Web Services Synchronizing folder ‘/Archive’
> 12:27:00 Outlook Exchange Web Services Synchronizing folder ‘/Archive’
> 12:27:14 Outlook [Exchange Web Services] MailClient.Storage.Application.OperationException: Id is malformed.
> —> Microsoft.Exchange.WebServices.Data.ServiceResponseException: Id is malformed.
> at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
> at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest1.Execute()* *> at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalConvertIds(IEnumerable1 ids, IdFormat destinationFormat, ServiceErrorHandling errorHandling)
> at Microsoft.Exchange.WebServices.Data.ExchangeService.ConvertId(AlternateIdBase id, IdFormat destinationFormat)
> at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.<>c__DisplayClass63_0.b__0(WorkerStatus worker, CancellationToken cancellationToken1)
> at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
> — End of inner exception stack trace —
> at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
> at MailClient.Commands.Command.Process(WorkerStatus status)
> EnqueuedStackTrace =
> at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GetSharingInvitationInfo(MailItem invitationMessage, CancellationToken cancellationToken, Action2 completed)* *> at MailClient.Storage.Application.Folder.GetSharingInvitationInfo(MailItem invitationMessage, CancellationToken cancellationToken, Action2 completed)
> at MailClient.UI.Controls.ControlMessageDetail.ControlMessageDetail.AddInvitationDetailsToHtmlDocument(MailDisplayInfo info, CefFrame frame, String messageId)
> at MailClient.UI.Controls.ControlMessageDetail.ControlMessageDetail.webBrowser_LoadEnd(Object sender, LoadEndEventArgs e)
> at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebBrowserEx.OnLoadEnd(LoadEndEventArgs e)
> at Xilium.CefGlue.WindowsForms.CefWebLoadHandler.<>c__DisplayClass2_0.b__0()
> at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
> at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
> at System.Delegate.DynamicInvokeImpl(Object[] args)
> at MailClient.Common.UI.Marshalling.SafeBeginInvoke(Control control, Delegate method, Object[] parameters)
> at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebBrowserEx.BeginInvokeIfRequired(Action a)
> at Xilium.CefGlue.WindowsForms.CefWebLoadHandler.OnLoadEnd(CefBrowser browser, CefFrame frame, Int32 httpStatusCode)
> at Xilium.CefGlue.CefLoadHandler.on_load_end(cef_load_handler_t self, cef_browser_t* browser, cef_frame_t* frame, Int32 httpStatusCode)*
> at Interop.User32.DispatchMessageW(MSG& msg)
> at System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void pvLoopData)*
> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)
> at System.Windows.Forms.Application.Run(ApplicationContext context)
> at MailClient.Program.<>c.b__173_1()
> at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
> at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
> at System.Delegate.DynamicInvokeImpl(Object[] args)
> at System.Delegate.DynamicInvoke(Object[] args)
> at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
> at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
> at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
> at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
> at System.Windows.Forms.ContainerControl.WndProc(Message& m)
> at System.Windows.Forms.Form.WndProc(Message& m)
> at MailClient.Common.UI.Forms.BaseForm.WndProc(Message& m)
> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
> at Xilium.CefGlue.Interop.libcef.run_message_loop()
> at MailClient.Program.Main(String[] args)
> GUIStatus_Exception_Reported = True
> ----------------------------------------------------------------------------
> [Exchange Web Services]Id is malformed.
> ----------------------------------------------------------------------------
*> 19:41:42 Gmail [XMPP] MailClient.Accounts.ConnectionException: *
> (Cannot determine the frame size or a corrupted frame was received.)
> GUIStatus_Exception_Reported = True
> 19:41:42 Gmail [XMPP] MailClient.Storage.Application.OperationException: Cannot access a disposed object.
> Object name: ‘SslStream’.
> —> System.ObjectDisposedException: Cannot access a disposed object.
> Object name: ‘SslStream’.
> at System.Net.Security.SslStream.g__ThrowExceptional|137_0(ExceptionDispatchInfo e)
> at System.Net.Security.SslStream.get_RemoteCertificate()
> at bedrock.net.AsyncSocket.get_RemoteCertificate()
> at jabber.connection.SocketStanzaStream.bedrock.net.ISocketEventListener.OnConnect(BaseSocket sock)
> at bedrock.net.AsyncSocket.ExecuteConnect(IAsyncResult ar)
> — End of inner exception stack trace —
> GUIStatus_Exception_Reported = True
> ----------------------------------------------------------------------------
> [XMPP]Cannot access a disposed object.
> Object name: ‘SslStream’.
> ----------------------------------------------------------------------------

The Google XMPP error is nothing to worry about. It’s something in the chat protocol (XMPP) that has been a mystery bug for many years apparently, but it doesn’t actually affect anything.

For your Outlook Exchange Error, you will probably need to take more advanced Exchange Web Services Logs. Likely, there’s some event, task, or note within your outlook account which is badly formatted and needs to be deleted, but it’s impossible to say which one without the logs.

Go to Menu > Settings > Advanced > Logging and click the box to enable Exchange Web Services logging for your outlook account.
Close eM Client and then restart it.

Then you will need to re-synchronize your account’s folders so the events show up in the logs.
Try going to the calendar view and right clicking on the main folder (usually called “calendar”) under your outlook account. Then select “properties” and go to the tab called “Repair” and click “repair”.
This will cause all your calendar events to re-sync from the server.

If you use tasks or notes, you might need to do the same properties > Repair instruction there as well.

Then go back to Menu > Settings > Advanced > Logging and click the “Send Logs” button.
This will generate an email with a lot of text attachments, but you only need the files which say “Exchange Web Services”

You’ll need to post those log files here (or contact pro support if you’re a pro user) for further help.