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

Exception on getting documents for accounts #21

Open
sweebee opened this issue Mar 7, 2022 · 0 comments
Open

Exception on getting documents for accounts #21

sweebee opened this issue Mar 7, 2022 · 0 comments

Comments

@sweebee
Copy link

sweebee commented Mar 7, 2022

When there is an account which doesn't require any documents the API returns an empty string instead of an array or null. The SDK assumes its always an array which will throw an exception:

Schermafbeelding 2022-03-07 om 14 54 59

$accounts['documents'] is in this case an empty string instead of an array.

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

Successfully merging a pull request may close this issue.

1 participant