sdk_csharp icon indicating copy to clipboard operation
sdk_csharp copied to clipboard

Getting events list fails

Open bluewalk opened this issue 4 years ago • 4 comments
trafficstars

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

  • Tested on 1.15.2
  • [ ] Sandbox
  • [x] Production

Response id

  • Response id:

Extra info:

bluewalk avatar Oct 04 '21 16:10 bluewalk

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

bluewalk avatar Jun 28 '22 17:06 bluewalk

Any update on this?

bluewalk avatar Nov 04 '22 09:11 bluewalk

Same request here.

vanengers avatar Nov 04 '22 10:11 vanengers

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

bluewalk avatar Feb 22 '23 11:02 bluewalk