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

Meerdere query string parameter fouten worden niet altijd geretourneerd #472

Open
MelvLee opened this issue Oct 19, 2021 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@MelvLee
Copy link
Collaborator

MelvLee commented Oct 19, 2021

In dit geval wel

{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "Een of meerdere parameters zijn niet correct.",
"status": 400,
"detail": "Bad request.",
"instance": "https://api.bag.acceptatie.kadaster.nl/esd/huidigebevragingen/v1/adressen?postcode=6922KZ&huisnummer=1&huisletter=1&huisnummertoevoeging=bisah",
"code": "paramsValidation",
"invalidParams": [
{
"name": "huisletter",
"code": "pattern",
"reason": "Waarde voldoet niet aan patroon ^[a-zA-Z]{1}$."
},
{
"name": "huisnummertoevoeging",
"code": "pattern",
"reason": "Waarde voldoet niet aan patroon ^[0-9a-zA-Z]{1,4}$."
}
]
}

en in het volgend geval niet

{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "Een of meerdere parameters zijn niet correct.",
"status": 400,
"detail": "Ongeldige waarde [a] opgegeven voor parameter [page]",
"instance": "https://api.bag.acceptatie.kadaster.nl/esd/huidigebevragingen/v1/adressen?page=a&pageSize=b&postcode=6922KZ&huisnummer=1",
"code": "paramsValidation",
"invalidParams": [
{
"name": "page",
"code": "integer",
"reason": "Waarde is geen geldige integer."
}
]
}

@NicoleKortoomsBAG, ter cc naar jou omdat Mark deze week op vakantie is

@MelvLee MelvLee added the bug Something isn't working label Oct 19, 2021
@NicoleKortoomsBAG
Copy link
Contributor

@MelvLee , we gaan er naar kijken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants