# Unresolved variable highlighting

**URL:** <https://community.postman.com/t/unresolved-variable-highlighting/24854>\
**Category:** Help Hub\
**Tags:** variables, postman-ui\
**Created:** [June 14, 2021, 6:29pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854 "2021-06-14T18:29:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [June 14, 2021, 6:29pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/1 "2021-06-14T18:29:59Z")

</div>

I recently updated to the latest version of Postman (version 8.6.2). I’ve noticed that that unresolved variables on the params tab of a request no longer highlights red unless you click in the field that contains the unresolved variable.

Is this an intentional change? Or do I need to submit a bug on your github repo?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/5/35be4232e3651d308a32c00d333a8565a79b772d.png)

The top image is a mouse hover showing how the variable is showing up as orange (usually resolved environment variables), while the bottom one shows the red highlighting after clicking in the field.

---

<div class="post-metadata">

**Author:** ![hannah.neil](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/hannah.neil/32/4477_2.png) [@hannah.neil](https://community.postman.com/u/hannah.neil)\
**Post date:** [June 14, 2021, 7:41pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/2 "2021-06-14T19:41:09Z")

</div>

Hey @psavage_jtv - is this also happening when you use the light theme? I’m not able to reproduce it myself.

---

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [June 14, 2021, 8:03pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/3 "2021-06-14T20:03:49Z")

</div>

My old man eyes can’t really tell (which is why I use the dark mode theme). I’ll let you be the judge about whether or not this is an issue in the light mode theme.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/5/b59ba085bc7d1bad2b50f875d9071291d81f9026.png)

It looks like the bottom picture has the highlight (which is after I entered the field with my mouse cursor).

---

<div class="post-metadata">

**Author:** ![neilstudd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/neilstudd/32/8213_2.png) [@neilstudd](https://community.postman.com/u/neilstudd)\
**Post date:** [June 14, 2021, 8:14pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/4 "2021-06-14T20:14:37Z")

</div>

I agree that it doesn’t look right in the light theme either. Here’s my example where `{{invalid-value}}` doesn’t resolve to anything; in the address bar it’s very clearly highlighted red for unresolved, but in the param list, it’s the same colour as a resolved variable. (It looks like the CSS for unresolvedVariable isn’t returning the error colour)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/f/9/f9df74467d68a72d7cd1d536fb2bf450f717ee87.png)

---

<div class="post-metadata">

**Author:** ![hannah.neil](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/hannah.neil/32/4477_2.png) [@hannah.neil](https://community.postman.com/u/hannah.neil)\
**Post date:** [June 14, 2021, 8:18pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/5 "2021-06-14T20:18:12Z")

</div>

Hmmmm. Interesting. In @psavage_jtv 's light theme screenshot, it is showing red.

Would one of you mind raising an issue on [GitHub here](https://github.com/postmanlabs/postman-app-support/issues)? Have you only noticed this in v8.6.2?

---

<div class="post-metadata">

**Author:** ![neilstudd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/neilstudd/32/8213_2.png) [@neilstudd](https://community.postman.com/u/neilstudd)\
**Post date:** [June 14, 2021, 8:24pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/6 "2021-06-14T20:24:50Z")

</div>

I noticed it in 8.6.1 prior to just upgrading to 8.6.2

It’s red in @psavage_jtv’s second screenshot because the highlighting is correct when the field is in edit mode - it’s only when viewing the grid prior to editing that the colour seems to be off.

If it hasn’t been raised by the morning, I’ll drop a ticket in then 👍

---

<div class="post-metadata">

**Author:** ![hannah.neil](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/hannah.neil/32/4477_2.png) [@hannah.neil](https://community.postman.com/u/hannah.neil)\
**Post date:** [June 14, 2021, 8:29pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/7 "2021-06-14T20:29:48Z")

</div>

Thanks @neilstudd - appreciate it.

---

<div class="post-metadata">

**Author:** ![neilstudd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/neilstudd/32/8213_2.png) [@neilstudd](https://community.postman.com/u/neilstudd)\
**Post date:** [June 15, 2021, 12:51pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/8 "2021-06-15T12:51:15Z")

</div>

Raised below:

> <https://github.com/postmanlabs/postman-app-support/issues/10028>
>
> \*\*Describe the Issue\*\*
> 
> As mentioned in \[this forum topic\](https://community.p…ostman.com/t/unresolved-variable-highlighting/24854), when a variable cannot be resolved, it normally appears in the Postman UI in red, making it visually clear that there is a problem.
> 
> However, in recent builds (observed in 8.6.1 and 8.6.2) the text is not red when it appears within query params or path variables - it's the same tint as a valid/resolved variable.
> 
> \*\*Steps to Reproduce\*\*
> 
> 1. Create a new GET request
> 2. Add two query params - map one of them to a valid variable, map the other to a non-existent variable
> 3. Check the colour of both variables in the grid - they're the same
> 
> 
> \*\*Screenshots or Videos\*\*
> 
> Note that 'invalid-value' is clearly red in the address bar, but in the query params it's the same colour as a resolved variable; I've enclosed clour picker screenshots of both as proof.
> 
> !\[image\](https://user-images.githubusercontent.com/7154703/122054233-63c22100-cddf-11eb-90ff-03a420f98bb5.png)
> 
> !\[image\](https://user-images.githubusercontent.com/7154703/122054429-923ffc00-cddf-11eb-9bcf-d89954580ba2.png)
> 
> !\[image\](https://user-images.githubusercontent.com/7154703/122054488-a1bf4500-cddf-11eb-900a-b433fa83b0b5.png)
> 
> \*\*Environment Information\*\*
> 
> - Platform Type: Desktop and web
> - Postman Version: 8.6.1 and 8.6.2
> - Operating System: Windows 10, Mac OSX Catalina 10.15.7

---

<div class="post-metadata">

**Author:** ![psavage\_jtv](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@psavage\_jtv](https://community.postman.com/u/psavage_jtv)\
**Post date:** [June 15, 2021, 12:58pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/9 "2021-06-15T12:58:34Z")

</div>

@neilstudd Thanks for raising the issue. Sorry, got caught up in work and didn’t have a chance to log the bug myself.

---

<div class="post-metadata">

**Author:** ![sahuvikramp](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sahuvikramp/32/10828_2.png) [@sahuvikramp](https://community.postman.com/u/sahuvikramp)\
**Post date:** [February 24, 2022, 7:31am UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/10 "2022-02-24T07:31:53Z")

</div>

Hey @psavage_jtv, Thanks for your patience 😃

Happy to inform that this [issue has been fixed](https://github.com/postmanlabs/postman-app-support/issues/10028) and released on the web. Also, It will be rolled out to the app soon.

Cheers 🪄

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:54pm UTC](https://community.postman.com/t/unresolved-variable-highlighting/24854/11 "2024-12-12T12:54:14Z")

</div>

Closed on December 12, 2024, 12:54pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
