Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(data-table): stop reporting empty table view name as an error (#86881)

posthog[bot]19204642248f
diff --git a/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts b/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts
index 4d81c3d14285..41d4fb157e7e 100644
--- a/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts
+++ b/frontend/src/queries/nodes/DataTable/TableView/tableViewLogic.ts
@@ -536,7 +536,11 @@ export const tableViewLogic = kea<tableViewLogicType>([
lemonToast.success(`View "${newViewForm.name}" saved`)
},
- submitNewViewFormFailure: (error) => {
+ submitNewViewFormFailure: ({ error }) => {
+ // Kea-forms emits this when client validation fails; fields already show errors.
+ if (error instanceof Error && error.message === 'Validation Failed') {
+ return
+ }
posthog.captureException(error)
lemonToast.error('Error creating view')
},