diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index fa0292b34..a28ca9798 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); }