# A bug when creating categories using PUT: flow/global

**URL:** https://discourse.nodered.org/t/a-bug-when-creating-categories-using-put-flow-global/32702
**Category:** Developing Nodes
**Created:** [10 September 2020 16:13 UTC](https://discourse.nodered.org/t/a-bug-when-creating-categories-using-put-flow-global/32702 "2020-09-10T16:13:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gioza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gioza/32/25805_2.png) [@gioza](https://discourse.nodered.org/u/gioza)
#### Post date: [10 September 2020 16:13 UTC](https://discourse.nodered.org/t/a-bug-when-creating-categories-using-put-flow-global/32702/1 "2020-09-10T16:13:29Z")

</div>

The palette is bugged when creating categories in this format:

string + numeric (e.g. category name 1-1-1, or category name 1\_1\_1, or category name111)

For example, this is my request payload (category "test scenario1-1-1"):

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/e/ae779d96fc71637ab92aa19f7fe411b8523a0e5b.png)

The generated palette in Node-RED would be:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/5/b50dd44795e309c25f1d88453349abc09d838fe6.png)

And when manually modifying one subflow's category to:

"test scenario 1-1-1"

The change is successful, and then the previous "correct" category pops up:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/c/ecc945209c9b30b2cd248099d6cbc9a05d9449e3.png)

Another weird thing is that I could not update the bugged out category to the supposed correct category; the palette does not update.

Any thoughts on how to fix/achieve this?

---

<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: [9 November 2020 16:13 UTC](https://discourse.nodered.org/t/a-bug-when-creating-categories-using-put-flow-global/32702/2 "2020-11-09T16:13:30Z")

</div>

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