bunq / sdk_csharp

C# SDK for bunq API
MIT License
35 stars 22 forks source link

Getting events list fails #153

Open bluewalk opened 2 years ago

bluewalk commented 2 years ago

Steps to reproduce:

  1. Query events

What should happen:

  1. Returns list of events

What happens:

  1. Throws exception

Traceback

Newtonsoft.Json.JsonSerializationException: Could not create an instance of type Bunq.Sdk.Model.Core.BunqModel. Type is an interface or abstract class and cannot be instantiated. Path 'object_data_at_event.InterestPayout', line 129, position 21., at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue), at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent), at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType), at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType), at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings), at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings), at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value), at Bunq.Sdk.Json.BunqJsonConvert.DeserializeObject[T](String value), at System.Linq.Utilities.<>c__DisplayClass2_03.<CombineSelectors>b__0(TSource x), at System.Linq.Enumerable.SelectIListIterator2.ToList(), at Bunq.Sdk.Model.Core.BunqModel.FromJsonList[T](BunqResponseRaw responseRaw, String wrapper), at Bunq.Sdk.Model.Generated.Endpoint.Event.List(IDictionary2 urlParams, IDictionary2 customHeaders)

SDK version and environment

Response id

Extra info:

bluewalk commented 2 years ago

When will this be fixed? It has been an issue for almost a year now...

bluewalk commented 1 year ago

Any update on this?

vanengers commented 1 year ago

Same request here.

bluewalk commented 1 year ago

@bunq when will there be a new nuget package solving these issues?