I have a project which was built using uipath.microsoft365.activities 1.11.1.
It has an activity to forward an email which use to work fine on package version 1.11.1 but since the package has been upgraded to 1.14.1 I am start getting the following error.
Can you please advise if there is any solution available to this ?
Forward Mail: Method ‘DisposeAsync’ in type ‘System.Text.Json.Utf8JsonWriter’ from assembly ‘System.Text.Json, Version=126.96.36.199, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ does not have an implementation.
Hope you have upgraded the package to a stable version?
Also after the update is there any change happened in the connection configuration?
Thanks for our reply.
Nothing changed since except dependencies update to 1.14.1 from 1.11.1.
I still can read the inbox.
@Haris_Mahmood It can be version sync issue. Can you try downgrading or upgrading to some other version and check again.
I have tried downgrading to 1.11.1 and then re-upgraded but I am still having the same issue.
When you mentioned “sync” in you reply, can you please advise where does it need to sync with ?
@Haris_Mahmood , Have you found any more information, fixes, or workarounds to this issue? I too am experiencing problems with 1.14.1. In my case, the Office365 mail activities work fine on my local machine where I’m running 22.4.3, but on my Unattended dev server which is running 21.10, it throws an error “Method ‘DisposeAsync’ in type ‘System.Text.Json.Utf8JsonWriter’ from assembly ‘System.Text.Json, Version=188.8.131.52, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ does not have an implementation.”
@Haris_Mahmood , Another update. I was able to solve this on my Unattended servers. The problem for me turned out to be the .Net framework version. My servers were running 4.7.. I used the Microsoft ndp-48-web.exe tool to upgrade it and now show 4.8.03761. With that .Net framework installed, the Get Mail (and Send Mail) activity now works.
I couldn’t find any solution, so I have ended up downgrading the package / dependencies and it is working fine since then.
Thanks for updating with your solution, I shall try that as well.