Execute pre-request script failed: TypeError: Cannot convert undefined or null to object
Expected Behavior
I am looking to migrate my postman script to insomnia, but every time insomnia return 'Execute pre-request script failed: TypeError: Cannot convert undefined or null to object" even for console.log("Hello");
Actual Behavior
I should be able to write the script in which I can to set the response value of the GET API into the environment variable.
Reproduction Steps
No response
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
No response
Insomnia Version
Insomnia 10.0.0
What operating system are you using?
macOS
Operating System Version
Apple M3 Pro 14.6.1 (23G93)
Installation method
download insomnia
Last Known Working Insomnia version
Insomnia 10.0.0
@ihexxa
This issue seems to be same with #7976 , more information is included for identification.
@jayantwaghulde Can you join our Slack channel https://chat.insomnia.rest, so we can DM you how to reproduce it, thanks.
Hello @jayantwaghulde, would you mind to update to the latest 10.1, which will return more information to help us identify the issue, thank you.
Closing this issue as no further feedback has been received.