diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index fa0292b340..a28ca9798b 100644 --- a/packages/bruno-app/src/utils/importers/postman-collection.js +++ b/packages/bruno-app/src/utils/importers/postman-collection.js @@ -506,7 +506,7 @@ const importPostmanV2Collection = (collection, options) => { importScriptsFromEvents(collection.event, brunoCollection.root.request, options, pushTranslationLog); } - if (collection.variable){ + if (collection?.variable){ importCollectionLevelVariables(collection.variable, brunoCollection.root.request); }