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

NotificationFilterUrlUser.Create throws unexpected exception #132

Open
1 of 2 tasks
mbedeker opened this issue Nov 13, 2019 · 4 comments
Open
1 of 2 tasks

NotificationFilterUrlUser.Create throws unexpected exception #132

mbedeker opened this issue Nov 13, 2019 · 4 comments

Comments

@mbedeker
Copy link

Steps to reproduce:

When calling NotificationFilterUrlUser.Create there is a valid response, but because the method ends with ProcessForId(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

  • Tested on 0.12.4
  • Sandbox
  • Production
@bluewalk
Copy link

Confirmed, experiencing the same issue. The notification filter however, is created.

@kdekok
Copy link

kdekok commented May 20, 2020

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.

@janssen-io
Copy link

janssen-io commented Jan 1, 2024

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.

@bluewalk
Copy link

bluewalk commented Jan 2, 2024

@janssen-io it indeed seems that bunq has stopped maintaining this SDK although the bot keeps regenerating the code...

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

4 participants