From 2a9f9587ac57add3f751a48b9fa2e30e5f93febf Mon Sep 17 00:00:00 2001 From: Ylli <115667415+yllipringdev@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:12:16 +0100 Subject: [PATCH] refactor: Additional informations added on Airtable Import feature that tells which column in which table was Duplicate column alias. Issue Refs: #8798 (#9741) --- packages/nocodb/src/services/columns.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/services/columns.service.ts b/packages/nocodb/src/services/columns.service.ts index 2f7fb67dd9..654ddace3b 100644 --- a/packages/nocodb/src/services/columns.service.ts +++ b/packages/nocodb/src/services/columns.service.ts @@ -352,7 +352,8 @@ export class ColumnsService { exclude_id: param.columnId, })) ) { - NcError.badRequest('Duplicate column alias'); + // This error will be thrown if there are more than one column linking to the same table. You have to delete one of them + NcError.badRequest(`Duplicate column alias for table ${table.title} and column is ${param.column.title}. Please change the name of this column and retry.`); } let colBody = { ...param.column } as Column & {