Repository navigation
The environment variables (references) imported from Insomnia do not take effect in Bruno #9393
Replies: 2 comments 5 replies
|
Bruno's Insomnia importer converts Fix: rewrite the references in the Insomnia export, then re-import Open the exported file (JSON or YAML) in VS Code, press
That turns If you want to keep the collection you already have, run the same replace with Find in Files ( Why it happens: the importer has a |




Yes, that's the right long-term fix, but it's a change in Bruno itself. The importer already has the conversion in
normalizeVariables()(insomnia-to-bruno.js#L36-L43). It just isn't applied to environments:toBrunoEnvcopies each value withString(value)(env-utils.js#L15). Moving that helper somewhere shared and running environment values through it would cover{{ _.x }}in environments too.That code is the same in v4.2.1, and I couldn't find an existing issue or PR for it, so it's worth opening an issue with these two links (or a PR, since the change is small). Until it ships, the find-and-replace on the export file is the workaround.