sdk_csharp
sdk_csharp copied to clipboard
Getting events list fails
Steps to reproduce:
- Query events
What should happen:
- Returns list of events
What happens:
- 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_0
3.<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
- Tested on 1.15.2
- [ ] Sandbox
- [x] Production
Response id
- Response id:
Extra info:
When will this be fixed? It has been an issue for almost a year now...
Any update on this?
Same request here.
@bunq when will there be a new nuget package solving these issues?