You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a breaking change in Bunq response,
Authorization via API barcode on a company account can't map it,
the json response has array of objects
What should happen:
Should return a Object of BunqUser
What happens:
Serialization error:
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Bunq.Sdk.Model.Generated.Object.LabelUser' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '[2].UserCompany.director_alias', line 306, position 25.
I cannot believe Bunq make a change to API model without updating Document or SDK Nuget ,
This is a breaking change, when is the nuget going to be updated?
Steps to reproduce:
Authorization via API barcode on a company account can't map it,
the json response has array of objects
What should happen:
What happens:
SDK version and environment
The text was updated successfully, but these errors were encountered: