Open mbedeker opened 4 years ago
Confirmed, experiencing the same issue. The notification filter however, is created.
This is still an issue. responseobject is of type NotificationFilterUrl instead of Id. The SDK uses FIELD_ID contstant to unwrap the json and crashes there.
Is this SDK still maintained by Bunq? It seems absurd to me that this issue (together with #131) just don't get fixed in four years time.
Edit: from this comment on the PHP SDK project, I found out that we can use the NotificationFilterUrlUserInternal.CreateWithListResponse([])
(or NotificationFilterUrlMonetaryAccountInternal
) to replace the list of the callback URLs.
However, these classes don't offer a replacement for the List
operation. So not sure what's the best way to append a callback URL at the moment.
@janssen-io it indeed seems that bunq has stopped maintaining this SDK although the bot keeps regenerating the code...
Steps to reproduce:
When calling
NotificationFilterUrlUser.Create
there is a valid response, but because the method ends withProcessForId(responseRaw)
, an exception is thrown, mainly because there is no Id in the root of the response.What should happen:
not really sure.. it should at least not throw an exception
SDK version and environment