diff --git a/frontend/__snapshots__/scenes-app-experiments--experiment-not-found.png b/frontend/__snapshots__/scenes-app-experiments--experiment-not-found.png
new file mode 100644
index 0000000000000..770fd04035f09
Binary files /dev/null and b/frontend/__snapshots__/scenes-app-experiments--experiment-not-found.png differ
diff --git a/frontend/__snapshots__/scenes-app-experiments--view-experiment-pay-gate.png b/frontend/__snapshots__/scenes-app-experiments--view-experiment-pay-gate.png
index beb357ac8a6a6..520840cd0f18a 100644
Binary files a/frontend/__snapshots__/scenes-app-experiments--view-experiment-pay-gate.png and b/frontend/__snapshots__/scenes-app-experiments--view-experiment-pay-gate.png differ
diff --git a/frontend/__snapshots__/scenes-app-feature-flags--feature-flag-not-found.png b/frontend/__snapshots__/scenes-app-feature-flags--feature-flag-not-found.png
new file mode 100644
index 0000000000000..4455d9ad6aa26
Binary files /dev/null and b/frontend/__snapshots__/scenes-app-feature-flags--feature-flag-not-found.png differ
diff --git a/frontend/__snapshots__/scenes-app-features--not-found-early-access.png b/frontend/__snapshots__/scenes-app-features--not-found-early-access.png
new file mode 100644
index 0000000000000..6e683eff04a96
Binary files /dev/null and b/frontend/__snapshots__/scenes-app-features--not-found-early-access.png differ
diff --git a/frontend/__snapshots__/scenes-app-surveys--survey-not-found.png b/frontend/__snapshots__/scenes-app-surveys--survey-not-found.png
new file mode 100644
index 0000000000000..f0a3188f10cbd
Binary files /dev/null and b/frontend/__snapshots__/scenes-app-surveys--survey-not-found.png differ
diff --git a/frontend/src/scenes/early-access-features/EarlyAccessFeature.tsx b/frontend/src/scenes/early-access-features/EarlyAccessFeature.tsx
index ffc9851bf8530..2677d3fb1ccec 100644
--- a/frontend/src/scenes/early-access-features/EarlyAccessFeature.tsx
+++ b/frontend/src/scenes/early-access-features/EarlyAccessFeature.tsx
@@ -1,4 +1,4 @@
-import { LemonButton, LemonDivider, LemonInput, LemonTag, LemonTextArea } from '@posthog/lemon-ui'
+import { LemonButton, LemonDivider, LemonInput, LemonSkeleton, LemonTag, LemonTextArea } from '@posthog/lemon-ui'
import { useActions, useValues, BindLogic } from 'kea'
import { PageHeader } from 'lib/components/PageHeader'
import { Field, PureField } from 'lib/forms/Field'
@@ -30,6 +30,7 @@ import { PropertyFilters } from 'lib/components/PropertyFilters/PropertyFilters'
import { PersonsSearch } from 'scenes/persons/PersonsSearch'
import { LemonDialog } from 'lib/lemon-ui/LemonDialog'
import { LemonTabs } from 'lib/lemon-ui/LemonTabs'
+import { NotFound } from 'lib/components/NotFound'
export const scene: SceneExport = {
component: EarlyAccessFeature,
@@ -40,12 +41,26 @@ export const scene: SceneExport = {
}
export function EarlyAccessFeature({ id }: { id?: string } = {}): JSX.Element {
- const { earlyAccessFeature, earlyAccessFeatureLoading, isEarlyAccessFeatureSubmitting, isEditingFeature } =
- useValues(earlyAccessFeatureLogic)
+ const {
+ earlyAccessFeature,
+ earlyAccessFeatureLoading,
+ isEarlyAccessFeatureSubmitting,
+ isEditingFeature,
+ earlyAccessFeatureMissing,
+ } = useValues(earlyAccessFeatureLogic)
const { submitEarlyAccessFeatureRequest, cancel, editFeature, updateStage, deleteEarlyAccessFeature } =
useActions(earlyAccessFeatureLogic)
const isNewEarlyAccessFeature = id === 'new' || id === undefined
+
+ if (earlyAccessFeatureMissing) {
+ return