diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py
index 1eb3d512ece18c2b97014ffe092268543a72b52f..50802f4eafda85794b400d95d2b1e73231095f3b 100644
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -1932,6 +1932,8 @@ class Catalog(Folder,
             elif key == 'uid':
               # uid is always ambiguous so we can only change it here
               new_key = 'catalog.uid'
+            else:
+              LOG('SQLCatalog', WARNING, 'buildSQLQuery this key is too ambiguous : %s' % key)
           else:
             new_key = key
           if new_key is not None: