Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
33.56k stars 1.87k forks source link

Why can't the environment variables in one of my Collections reference the variables in the current environment? #7539

Open CCCCY98 opened 2 weeks ago

CCCCY98 commented 2 weeks ago

Expected Behavior

For example, I want to reference base_url in the api, which I can do in my other collections, but I cannot reference it in this newly created collection.

Actual Behavior

image

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

Version: Insomnia 9.2.0

What operating system are you using?

Windows

Operating System Version

Windows 10 22H2 19045.4412

Installation method

Installation package downloaded from the official website.Download Link:https://objects.githubusercontent.com/github-production-release-asset-2e65be/56899284/bf348dfb-aaac-4784-9b89-7b312015dfc7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T025726Z&X-Amz-Expires=300&X-Amz-Signature=a031695253df3ae2e3b5c9531dd70d8d97e081ca3aa2d731f7d3fb76d1aaf1a3&X-Amz-SignedHeaders=host&actor_id=51116198&key_id=0&repo_id=56899284&response-content-disposition=attachment%3B%20filename%3DInsomnia.Core-8.6.1.exe&response-content-type=application%2Foctet-stream

Last Known Working Insomnia version

No response

alaz-aura commented 2 weeks ago

try removed the double quotes "" and instead type in base. I found on mac, the variable auto-complete can be ... funny ... I only include quotes if my values require them

CCCCY98 commented 1 week ago

try removed the double quotes "" and instead type in base. I found on mac, the variable auto-complete can be ... funny ... I only include quotes if my values require them

image Still can't reference it, but other than that, my other Collections can be referenced normally. image