diff --git a/packages/bruno-app/src/utils/codemirror/brunoVarInfo.js b/packages/bruno-app/src/utils/codemirror/brunoVarInfo.js index 6a486c01e..ff89d01b2 100644 --- a/packages/bruno-app/src/utils/codemirror/brunoVarInfo.js +++ b/packages/bruno-app/src/utils/codemirror/brunoVarInfo.js @@ -233,7 +233,7 @@ export const renderVarInfo = (token, options) => { // If variable doesn't exist in any scope, determine scope based on context if (!scopeInfo) { - if (item) { + if (item && item.uid) { // Determine if item is a folder or request const isFolder = item.type === 'folder';