diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index eea9b0d55..89ab15c7e 100644 --- a/packages/bruno-app/src/utils/importers/postman-collection.js +++ b/packages/bruno-app/src/utils/importers/postman-collection.js @@ -422,7 +422,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) = brunoRequestItem.request.auth.mode = 'apikey'; brunoRequestItem.request.auth.apikey = { key: authValues.key, - value: authValues.value.toString(), // Convert the value to a string as Postman's schema does not rigidly define the type of it, + value: authValues.value?.toString(), // Convert the value to a string as Postman's schema does not rigidly define the type of it, placement: "header" //By default we are placing the apikey values in headers! } }