# Duplicate Environment Variables

**URL:** <https://discourse.nodered.org/t/duplicate-environment-variables/82294>\
**Category:** General\
**Created:** [24 October 2023 07:08 UTC](https://discourse.nodered.org/t/duplicate-environment-variables/82294 "2023-10-24T07:08:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobC](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@RobC](https://discourse.nodered.org/u/RobC)\
**Post date:** [24 October 2023 07:08 UTC](https://discourse.nodered.org/t/duplicate-environment-variables/82294/1 "2023-10-24T07:08:49Z")

</div>

Interesting thing I found recently. NR V3.0.2  
You can add duplicate environment variables to a sub flow without complaint.  
On some projects I have like 20 env vars and added a debug(bool) and couldn't work out why I could set it (the bottom one) and it would revert back.

Maybe we could add to the sanity checking for numpties like me that might add duplicates?  
🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 December 2023 07:09 UTC](https://discourse.nodered.org/t/duplicate-environment-variables/82294/2 "2023-12-23T07:09:32Z")

</div>

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