diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts index 6ece81cbe3..5f6e51582c 100644 --- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts +++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts @@ -127,7 +127,8 @@ export class WorkspaceSyncObjectMetadataIdentifiersService { const identifierFieldMetadata = objectMetadata.fields.find( (field) => field.standardId === - standardObjectMetadataMap[objectStandardId][standardIdFieldName], + standardObjectMetadataMap[objectStandardId][standardIdFieldName] && + field.standardId !== null, ); if (