Error Get Mail Function

Hello everyone!
I’m getting the following error when using the Get Mail function:

Get Mail: Methode nicht gefunden: “System.Threading.Tasks.ValueTask`1<System.__Canon> System.Text.Json.JsonSerializer.DeserializeAsync(System.IO.Stream, System.Text.Json.JsonSerializerOptions, System.Threading.CancellationToken)”.

The function has worked fine so far. Sending emails works perfectly. Where could the problem be now?

Best regards
Peter

Hello @peter.kloeckner This means the runtime environment is trying to call a method that exists in your build-time version of System.Text.Json, but not in the one actually loaded at runtime. Match the version then republish this might helps you.

Cheers

Can you try upgrading Mail Related dependecies to latest version and check

Hi @peter.kloeckner

What activity and package you are using for sending emails? And what is the version of the package?

Also, it started happening suddenly? Are you on studio’s community version or enterprise one?

Hi,
Thank You for Your Answer.
The Problem is solved.
I made a mistake in the M365 Scope, sorry !

1 Like

Hi @peter.kloeckner

Good to hear your issue is resolved.

Kindly consider marking your last post as solution so this topic can be closed and help others with similar issues.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.