# MQTT Engine Custom Namespace Not Writeable

**URL:** <https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611>\
**Category:** Maker\
**Tags:** ignition81\
**Created:** [June 10, 2022, 1:20pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611 "2022-06-10T13:20:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [June 10, 2022, 1:20pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/1 "2022-06-10T13:20:20Z")

</div>

My MQTT Engine namespaces seem to suddenly not be writeable anymore. This was working.

The writeable option is definitely ticked:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/d/8d682076972d93b3df6e88a71b2931b22177f74a.png)

The AccessRights on the MQTT Engine tag provider seems to be Read\_Write:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55d4ae9da62bc59aaec1711a565d6e9fdc39593d.png)

Writing to it (either directly or via reference tag) always produces this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/3/735d517b40ce059ea51b213228be7ea87681428e.png)

I have upgraded to 8.1.17 and MQTT Engine v 4.0.11 in hopes of solving this, but no change.

I use a change script on a reference tag to do the actual MQTT publish, but the script isn’t executing as I presume it is blocked by the security.

What could have happened and how can I fix it?

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [June 10, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/2 "2022-06-10T15:32:16Z")

</div>

Interesting… There may be something here. I had a spare Maker gateway (as it happened) at 8.1.17 but with MQTT Engine 4.0.9 (because I had forgotten to upgrade the MQTT Engine module). Setup a custom namespace (with writable tags set True) and did a simple publish via `system.cirruslink.engine.publish()` script function to get a couple of tags via a JSON payload. Attempting to write to them worked without issue. (and tag properties looked like they expected, as you’re showing @deon.korb)

Went ahead and upgraded the MQTT Engine module to 4.0.11 (since that is the approved version) and I’ve now got that same behavior on that test namespace.

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [June 10, 2022, 3:42pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/3 "2022-06-10T15:42:25Z")

</div>

So it’s not me going crazy.

Do you have a suggested workaround or do we have to wait for Cirrus Link to fix it?

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [June 10, 2022, 4:41pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/4 "2022-06-10T16:41:12Z")

</div>

Not sure of a workaround at the moment… Interestingly enough, it seems that it also functions correctly if you have a fresh gateway with Distributor+Engine and configure a test namespace like above. Then, a gateway restart (or even MQTT Engine module only) puts it into this state. 🤔

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [June 10, 2022, 4:57pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/5 "2022-06-10T16:57:29Z")

</div>

Also tested this with MQTT Engine 4.0.10 and things setup and then continue to work fine, even after restarts; also, it does happen all editions, so might be worth opening a ticket with CL.

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [June 11, 2022, 12:26pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/6 "2022-06-11T12:26:10Z")

</div>

I don’t own a Cirrus Link licence in any way, and I understood that Maker related queries should be kept out of official support channels.

If this is applicable to the mainstream products, are we allowed to log an official support ticket?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 11, 2022, 1:34pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/7 "2022-06-11T13:34:21Z")

</div>

Cirrus Link has their own forum. I’d try there first.

> **[Cirrus Link Forum](https://forum.cirrus-link.com/)**
>
> A place to discuss software from Cirrus Link Solutions

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [June 29, 2022, 10:46am UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/8 "2022-06-29T10:46:50Z")

</div>

I sent this to Cirrus Link and they managed to replicate the problem and acknowledged the bug.

SUP-2136

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [July 28, 2022, 11:39pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/9 "2022-07-28T23:39:05Z")

</div>

FYI, I saw this in the 4.0.12 MQTT Engine module [release notes](https://docs.chariot.io/display/CLD80/Ignition+8.x+Compatible+Release+Notes) [from today]:

> - Fixed issue that caused 'writable custom namespace tags' to become unwritable after a module restart

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [July 29, 2022, 4:09am UTC](https://forum.inductiveautomation.com/t/mqtt-engine-custom-namespace-not-writeable/60611/10 "2022-07-29T04:09:04Z")

</div>

Thanks for the tip. I’ll install and test
