HAR Format Export error
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
I'm trying to export a collection with different environments to HAR format
### Actual Behavior
Getting the following stack trace error on Mac
Error: Failed to render "Delete an engine:undefined"
Failed to render environment variables: bearerToken
at exportHarWithRequest (file:///Applications/Insomnia.app/Contents/Resources/app.asar/mainWindow-CQepbrro.js:737:9370)
at async exportHar (file:///Applications/Insomnia.app/Contents/Resources/app.asar/mainWindow-CQepbrro.js:737:7946)
at async exportRequestsHAR (file:///Applications/Insomnia.app/Contents/Resources/app.asar/mainWindow-CQepbrro.js:739:32402)
at async onDone (file:///Applications/Insomnia.app/Contents/Resources/app.asar/mainWindow-CQepbrro.js:739:37459)
at async onDone (file:///Applications/Insomnia.app/Contents/Resources/app.asar/mainWindow-CQepbrro.js:739:33056)
### Reproduction Steps
_No response_
### Is there an existing issue for this?
- [x] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Which sync method do you use?
- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [ ] Local only
### Additional Information
_No response_
### Insomnia Version
Insomnia 11.0.2
### What operating system are you using?
macOS
### Operating System Version
15.4 (24E248)
### Installation method
Download from insomnia
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Start by reproducing HAR export for a collection with multiple environments and inspect the exportHarWithRequest, exportHar, and exportRequestsHAR entry points named in the stack trace. Confirm that export completes without the environment-variable or undefined-render errors, including the bearerToken case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100