Use Generic Converter
ADD
WalletWasabi/WabiSabi/Models/Serialization/ExceptionDataJsonConverter.cs
+using WalletWasabi.WabiSabi.Backend.Models;
+
+namespace WalletWasabi.WabiSabi.Models.Serialization;
+
+public class ExceptionDataJsonConverter : GenericInterfaceJsonConverter<ExceptionData>
+{
+ public ExceptionDataJsonConverter() : base(new [] { typeof(InputBannedExceptionData) })
+ {
+ }
+}

MODIFY
WalletWasabi/WabiSabi/Models/Serialization/JsonSerializationOptions.cs
WalletWasabi/WabiSabi/Models/Serialization/JsonSerializationOptions.cs
@@ -24,6 +24,7 @@ public class JsonSerializationOptions
new MoneySatoshiJsonConverter(),
new Uint256JsonConverter(),
new MultipartyTransactionStateJsonConverter(),
+ new ExceptionDataJsonConverter(),
new ExtPubKeyJsonConverter(),
new TimeSpanJsonConverter(),
new CoinJsonConverter(),

Use Generic Converter