I am using Refit to call APIs in .NET 7.0
System.Text.Json.Serialization.JsonCollectionConverter
throws exception when the response returned in empty.
It works fine when result contains data.
I think when when result is returned in list it works fine but for empty result {} is unable to being convert into empty array so it fails.
Anyone who could suggest solution ?