# The MQTT server is receiving the Info, just not passing it into tags

**URL:** <https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [December 27, 2020, 7:39pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804 "2020-12-27T19:39:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 27, 2020, 7:39pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/1 "2020-12-27T19:39:33Z")

</div>

hi,  
I have connected to the mosquitto broker successfully with MQTT Engine and have also created a new namespace custom but when i check the tag browser no tag in created. when i check the log in Provider Logs in TRACE i can see some error as given below.the message i .json format .i have enabled json payload when creating custom namespace

“internaljson 28Dec2020 00:59:07 [MQTT Engine] Saved redundancy version: VersionToken [stateId=052d06bc-0359-4715-af06-df9bd02a7f92, revision=2221, versionDetailsClass=null]”  
can any one please help in this issue

 ![20201228_002921](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/a/cac5a865c8d8faa222c572a235b483ed4d144f02.jpeg)

---

<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:** [December 28, 2020, 6:18pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/2 "2020-12-28T18:18:30Z")

</div>

@arjunrajas, welcome to the Ignition forums! Can you share more information on your custom namespace configuration?

One key in the example below may be the wildcard in the subscription. Without it, it will only subscribe to the specific topic[s] declared. Subscribing to `Custom1/#` in the configuration allows publishing to new root-level tags such as `Custom1/foo` in my example.

 ![2020-12-28 at 12.13 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/7/c7737b615de1edf991a20d53899ef9f3971280cc.png)

---

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 28, 2020, 6:48pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/3 "2020-12-28T18:48:25Z")

</div>

hi @kcollins DABAC1/Inverter/Periodic this is my topic which i have created in mosquitto  
i have attached the namespace configuration screen image and the json which is coming from  
mosquitto

 ![namesp](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c29365dee0050571215e921f9da4629cc8ac53c4.png) ![IMG-20201226-WA0005](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/6/c63238524e8a74d9a28e8e2fcd3b1fd64156e17f.jpeg)

---

<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:** [December 28, 2020, 7:36pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/4 "2020-12-28T19:36:35Z")

</div>

That looks like it should work just fine. The tags will be created under `[MQTT Engine]cms/DABAC1/Inverter/Periodic`, and only when a new message is published to that topic. What versions of Ignition and MQTT Engine are you running?

---

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 28, 2020, 8:13pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/5 "2020-12-28T20:13:03Z")

</div>

I am using Ignition 8.0.16 and MQTT engine 4.0.5

---

<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:** [December 28, 2020, 8:23pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/6 "2020-12-28T20:23:32Z")

</div>

Okay, make sure that you’re looking under the `MQTT Engine` provider for your tags, e.g.:  
 ![2020-12-28 at 2.20 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/a/ba69ce1348cb2af9ef741b9a02d302edb7f754ce.png)

Past that, other things to check is whether your MQTT Server connection is healthy and whether the credentials you’re using have _read_ access to that topic namespace. Is there anything else notable in the logs (you should be able to reset the log levels on that `internaljson` component)?

---

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 29, 2020, 12:29pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/7 "2020-12-29T12:29:15Z")

</div>

“credentials you’re using have _read_ access to that topic namespace”. what is this where to check this ?

---

<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:** [December 29, 2020, 2:52pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/8 "2020-12-29T14:52:15Z")

</div>

The main reason I ask about this is that some of the recent changes in the out-of-box-configuration of [Mosquitto 2.0](http://mosquitto.org) affect authentication and host interface binding. What to check here is variable based on what you’ve done to configure Mosquitto. If you’re running it on the same machine as the gateway, then it will bind to localhost adapter (which is okay) and allow anonymous connections (any other configuration requires you to explicitly enable anonymous connections).

First thing I would check is the connection status of your MQTT Engine server definition:

 ![2020-12-29 at 8.44 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/6/c6dfacb5ed1224767258d5b2f03a9013f2394265.png)

You should also see confirmation of the connection (and not much else if everything is working properly) in the gateway logs:

 ![2020-12-29 at 8.45 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/4/b4aee8e0fd59c39d815c3b6ec659f25c4bdfc2f8.png)

Finally, if you enable _Debug_ on `com.cirruslink.mqtt.engine.gateway.json` logger component, you’ll be able to see handling of the JSON payload when a message is published to your custom namespace (that you’ve configured in MQTT Engine):

 ![2020-12-29 at 8.48 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/e/5ecc2abf620a6a824cf883b7278c0aa829e30a20.png)

Obviously if you’ve got other things going on in your logger, those might help point you in a good direction for additional troubleshooting. Also, you might cross-check your messages coming into your broker by independently subscribing with an MQTT test tool such as [MQTT.fx](http://mqttfx.org).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 29, 2020, 3:49pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/9 "2020-12-29T15:49:33Z")

</div>

There i no probem in the connection .but in “com.cirruslink.mqtt.engine.gateway.json”  
i get some error which i have given below

 ![error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/d/ad3cfdd0f5b8efe662e04711ffc0e3bafcf66fee.png)

---

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 29, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/10 "2020-12-29T15:52:37Z")

</div>

when i expand i get error log as given in the below image

 ![error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/8/e8c7e27f7817fa1e4dd0e8ad1971328b6d0b2f68.png)

---

<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:** [December 29, 2020, 5:15pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/11 "2020-12-29T17:15:32Z")

</div>

Ahhh, looks like it is indeed having trouble parsing the payload as valid JSON. Are you able to paste a full message payload example here (including that unrecognized token)? Just surround the contents with the three backticks (```) like below:

```json  
[“JSON CONTENT HERE”]  
```

This way it will render it nicely, like below:

```json
["JSON CONTENT HERE"]

```

---

<div class="post-metadata">

**Author:** ![arjunrajas](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arjunrajas](https://forum.inductiveautomation.com/u/arjunrajas)\
**Post date:** [December 29, 2020, 5:29pm UTC](https://forum.inductiveautomation.com/t/the-mqtt-server-is-receiving-the-info-just-not-passing-it-into-tags/41804/12 "2020-12-29T17:29:21Z")

</div>

thanks @kcollins the values r publishing as tags now thank you very mush on your support
