Skip to content

token string variable cause an error on request #9286

@fsimoes047

Description

@fsimoes047

Expected Behavior

I have an environment variable with the value of a token string. When I use the variable in a request, I get an error as an answer. But when I paste the entire token string in the request body, the request is successful.
There is no difference in the token string inside the environment display and the token string itself, something happens when the token variable is used in the request body.
Can you help?
Thank you in advance,
Best regards,
Fernando

Actual Behavior

Error when using env. variable

Reproduction Steps

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

2025, 11.6.1

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

download from Insomnia site

Last Known Working Insomnia version

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-bugBug: general classificationS-unverifiedStatus: Unverified by maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions