Expected Behavior
Json variable is accepted and it can be used in request and scripts.
Actual Behavior
Variables block returns error that it cannot convert undefined or null to object.
Reproduction Steps
- Set Json view in Collection Variable view.
- Create a json variable in global variable or environment variables
- Add one of it's parameter to have "null" as value
- send request
Is there an existing issue for this?
Which sync method do you use?
- Git sync.
- Insomnia Cloud sync.
- Local only
Additional Information
There is a workaround so that insomnia will not auto fix the json and that is to switch from json view to table view, but the error will still persist in the request.
Used overall object looks like :
{
"test":{
"param1":null
},
"test2":{
"param1":"string"
}
}
Insomnia Version
13.0.2
What operating system are you using?
Windows
Operating System Version
11 ver 24h2
Installation method
download from git release
Last Known Working Insomnia version
No response
Expected Behavior
Json variable is accepted and it can be used in request and scripts.
Actual Behavior
Variables block returns error that it cannot convert undefined or null to object.
Reproduction Steps
Is there an existing issue for this?
Which sync method do you use?
Additional Information
There is a workaround so that insomnia will not auto fix the json and that is to switch from json view to table view, but the error will still persist in the request.
Used overall object looks like :
{ "test":{ "param1":null }, "test2":{ "param1":"string" } }Insomnia Version
13.0.2
What operating system are you using?
Windows
Operating System Version
11 ver 24h2
Installation method
download from git release
Last Known Working Insomnia version
No response