Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute pre-request script failed: TypeError: Cannot convert undefined or null to object #8042

Open
1 task done
jayantwaghulde opened this issue Oct 4, 2024 · 0 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@jayantwaghulde
Copy link

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?

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

@jayantwaghulde jayantwaghulde added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant