X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/de10071369ab482d70bb63fe45df317d6bd3f6c5..9cc4ce49c735ca76a5aaab30bf62a4e861bda426:/src/store/advanced-tab/advanced-tab.tsx

diff --git a/src/store/advanced-tab/advanced-tab.tsx b/src/store/advanced-tab/advanced-tab.tsx
index 25d90195..052df3a2 100644
--- a/src/store/advanced-tab/advanced-tab.tsx
+++ b/src/store/advanced-tab/advanced-tab.tsx
@@ -280,7 +280,14 @@ const getDataForAdvancedTab = (uuid: string) =>
                 .addEqual('head_uuid', uuid)
                 .getFilters()
         });
-        const user = metadata.itemsAvailable && await services.userService.get(metadata.items[0].tailUuid || '');
+        let user;
+
+        try {
+            if (metadata.itemsAvailable && metadata.items[0].tailKind === ResourceKind.USER) {
+                user = await services.userService.get(metadata.items[0].tailUuid || '');
+            }
+        } catch {};
+
         return { data, metadata, user };
     };
 
