使用如下调用调用 Microsoft Graph API 后:
var driveItem = await _graphApiClient.Sites[SiteId].Drives[DriveId].Root.ItemWithPath(path)
.Request().GetAsync();
Run Code Online (Sandbox Code Playgroud)
我得到:
System.NotSupportedException: Serialization and deserialization of 'System.Action' instances are not supported. Path: $.MoveNextAction.
---> System.NotSupportedException: Serialization and deserialization of 'System.Action' instances are not supported.
at System.Text.Json.Serialization.Converters.UnsupportedTypeConverter`1.Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
at System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
at ...
Run Code Online (Sandbox Code Playgroud)