diff --git a/src/open_inwoner/openzaak/notifications.py b/src/open_inwoner/openzaak/notifications.py index 613d43891e..4dcbe9ea29 100644 --- a/src/open_inwoner/openzaak/notifications.py +++ b/src/open_inwoner/openzaak/notifications.py @@ -83,7 +83,8 @@ def handle_zaken_notification(notification: Notification): if not roles: log_system_action( f"ignored {r} notification: cannot retrieve rollen for case {case_url}", - log_level=logging.ERROR, + # NOTE this used to be logging.ERROR, but as this is also our first call we get a lot of 403 "Niet geautoriseerd voor zaaktype" + log_level=logging.INFO, ) return diff --git a/src/open_inwoner/openzaak/tests/test_notification_zaak_infoobject.py b/src/open_inwoner/openzaak/tests/test_notification_zaak_infoobject.py index 4f0283dea1..6edfea7c77 100644 --- a/src/open_inwoner/openzaak/tests/test_notification_zaak_infoobject.py +++ b/src/open_inwoner/openzaak/tests/test_notification_zaak_infoobject.py @@ -98,7 +98,7 @@ def test_zio_bails_when_no_roles_found_for_case(self, m, mock_handle: Mock): self.assertTimelineLog( "ignored zaakinformatieobject notification: cannot retrieve rollen for case https://", lookup=Lookups.startswith, - level=logging.ERROR, + level=logging.INFO, ) def test_zio_bails_when_no_emailable_users_are_found_for_roles( diff --git a/src/open_inwoner/openzaak/tests/test_notification_zaak_status.py b/src/open_inwoner/openzaak/tests/test_notification_zaak_status.py index 5f882eee50..aec3e39357 100644 --- a/src/open_inwoner/openzaak/tests/test_notification_zaak_status.py +++ b/src/open_inwoner/openzaak/tests/test_notification_zaak_status.py @@ -94,7 +94,7 @@ def test_status_bails_when_no_roles_found_for_case(self, m, mock_handle: Mock): self.assertTimelineLog( "ignored status notification: cannot retrieve rollen for case https://", lookup=Lookups.startswith, - level=logging.ERROR, + level=logging.INFO, ) def test_status_bails_when_no_emailable_users_are_found_for_roles(