diff --git a/src/components/modals/ManageGroupsAndTypesModal.svelte b/src/components/modals/ManageGroupsAndTypesModal.svelte
index 1f0f702711..16e9ad4b44 100644
--- a/src/components/modals/ManageGroupsAndTypesModal.svelte
+++ b/src/components/modals/ManageGroupsAndTypesModal.svelte
@@ -585,11 +585,11 @@
{#if parsedExternalSourceEventTypeSchema !== undefined}
- {#each Object.keys(parsedExternalSourceEventTypeSchema.source_types) as newSourceTypeName}
+ {#each Object.keys(parsedExternalSourceEventTypeSchema.source_types ?? {}) as newSourceTypeName}
{newSourceTypeName}
{/each}
- {#each Object.keys(parsedExternalSourceEventTypeSchema.event_types) as newEventTypeName}
+ {#each Object.keys(parsedExternalSourceEventTypeSchema.event_types ?? {}) as newEventTypeName}
{newEventTypeName}
{/each}