Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting events list fails #153

Open
1 of 2 tasks
bluewalk opened this issue Oct 4, 2021 · 4 comments
Open
1 of 2 tasks

Getting events list fails #153

bluewalk opened this issue Oct 4, 2021 · 4 comments

Comments

@bluewalk
Copy link

bluewalk commented Oct 4, 2021

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
  • Production

Response id

  • Response id:

Extra info:

@bluewalk
Copy link
Author

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

@bluewalk
Copy link
Author

bluewalk commented Nov 4, 2022

Any update on this?

@vanengers
Copy link

Same request here.

@bluewalk
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants