Product versie / Product version
2.18.0
Omschrijf het probleem / Describe the bug
Original feature: #598
Klantcontact notifications fail because OpenKlant sends values as booleans but OpenNotificaties expect strings.
Stappen om te reproduceren / Steps to reproduce
- Use the register kanalen on CLI to let OpenKlant register itself with OpenNotificaties
- Make a Klantcontact via the API
- The worker will try to send (Taken from our T env, but URLs obfuscated)
'{"kanaal": "klantcontacten", "hoofdObject": "https://{URL}/klantinteracties/api/v1/klantcontacten/xxxx", "resource": "klantcontact", "resourceUrl": "https://{URL}/klantinteracties/api/v1/klantcontacten/xxx", "actie": "create", "aanmaakdatum": "2026-08-31T16:07:05.805746Z", "kenmerken": {"hoofdOnderwerpType": "", "indicatieContactGelukt": true, "verdereActieOndernomen": false}}'
- Which returns an error from openNotificaties:
'{"kenmerken":{"indicatieContactGelukt":["Not a valid string."],"verdereActieOndernomen":["Not a valid string."]}}'
(I can deliver the full logs but not via a public ticket :) )
Verwacht gedrag / Expected behavior
2 options
- OpenKlant sends strings
- OpenNotification accepts booleans
Product versie / Product version
2.18.0
Omschrijf het probleem / Describe the bug
Original feature: #598
Klantcontact notifications fail because OpenKlant sends values as booleans but OpenNotificaties expect strings.
Stappen om te reproduceren / Steps to reproduce
'{"kanaal": "klantcontacten", "hoofdObject": "https://{URL}/klantinteracties/api/v1/klantcontacten/xxxx", "resource": "klantcontact", "resourceUrl": "https://{URL}/klantinteracties/api/v1/klantcontacten/xxx", "actie": "create", "aanmaakdatum": "2026-08-31T16:07:05.805746Z", "kenmerken": {"hoofdOnderwerpType": "", "indicatieContactGelukt": true, "verdereActieOndernomen": false}}''{"kenmerken":{"indicatieContactGelukt":["Not a valid string."],"verdereActieOndernomen":["Not a valid string."]}}'(I can deliver the full logs but not via a public ticket :) )
Verwacht gedrag / Expected behavior
2 options