[GH-ISSUE #4208] [bug]: Variables not populating when sending request #1520

Closed
opened 2026-03-16 20:40:41 +03:00 by kerem · 2 comments
Owner

Originally created by @thomasphillipsgb on GitHub (Jul 23, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4208

Originally assigned to: @nivedin on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I set the Authorization tab on a request to a secret variable defined in Global Environment, it seems no substitution is being made.

Steps to reproduce

  1. Make a secret global variable
  2. Set it in the Authorization tab (Basic Auth. for example)
  3. Make a request which requires this to be populated
  4. See the variable ins't replaced with it's value.

Here's an example request and response we use.
With secret variables -
Screenshot 2024-07-23 at 16 54 34

With regular variables -
Screenshot 2024-07-23 at 16 56 11

May be related to - #4180

Environment

Production

Version

Cloud

Originally created by @thomasphillipsgb on GitHub (Jul 23, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4208 Originally assigned to: @nivedin on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I set the Authorization tab on a request to a secret variable defined in Global Environment, it seems no substitution is being made. ### Steps to reproduce 1. Make a secret global variable 2. Set it in the Authorization tab (Basic Auth. for example) 3. Make a request which requires this to be populated 4. See the variable ins't replaced with it's value. Here's an example request and response we use. With secret variables - ![Screenshot 2024-07-23 at 16 54 34](https://github.com/user-attachments/assets/b625ac90-7db7-4b8e-b6b9-444476a1778d) With regular variables - ![Screenshot 2024-07-23 at 16 56 11](https://github.com/user-attachments/assets/c113c375-6798-434a-a224-bba4bf0a4579) May be related to - #4180 ### Environment Production ### Version Cloud
kerem 2026-03-16 20:40:41 +03:00
Author
Owner

@thomas-haufe commented on GitHub (Jul 25, 2024):

On 2024.6.0, this bug seems to occur only for environment secrets, not for global secrets.

<!-- gh-comment-id:2249809078 --> @thomas-haufe commented on GitHub (Jul 25, 2024): On 2024.6.0, this bug seems to occur only for environment secrets, not for global secrets.
Author
Owner

@thomasphillipsgb commented on GitHub (Jul 31, 2024):

Verified on 2024.7.0, working now! Thanks!

<!-- gh-comment-id:2259920477 --> @thomasphillipsgb commented on GitHub (Jul 31, 2024): Verified on 2024.7.0, working now! Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1520
No description provided.