# Not receiving MQTT message for Gateway status topic

**URL:** <https://www.thethingsnetwork.org/forum/t/not-receiving-mqtt-message-for-gateway-status-topic/57215>\
**Category:** The Things Stack v3\
**Tags:** gateways, mqtt\
**Created:** [May 25, 2022, 1:34pm UTC](https://www.thethingsnetwork.org/forum/t/not-receiving-mqtt-message-for-gateway-status-topic/57215 "2022-05-25T13:34:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tmonji](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tmonji/32/35697_2.png) [@tmonji](https://www.thethingsnetwork.org/forum/u/tmonji)\
**Post date:** [May 25, 2022, 1:34pm UTC](https://www.thethingsnetwork.org/forum/t/not-receiving-mqtt-message-for-gateway-status-topic/57215/1 "2022-05-25T13:34:21Z")

</div>

I’m new to MQTT and I try to subscribe to `gateway status` topic from my local running typescript program but it doesn’t receive any message for `gateway status` topic at all. This program also subscribe to another topic and messages for that topic is properly received. I login to TTN console to check gateway information and found that gateway status is published every 30 seconds. I thought it maybe because of permission problem, so I added `Grant all current and future rights` to API Key of Application but still no message for gateway status topic have received.  
This is the topic I use to subscribe to gateway status `v3/<gateway-id>@ttn/status`. I get gateway-id from TTN console.

![gateway-id](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/b/4/b4a940b02d5f6224ecf6e29a052c192262e249b9.png)

![gateway_status_log](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/8/d/8d276f0579260a02364424d7d3cfacbe777895be.png)

Additional Info:  
I found that there is no `View gateway status` right in API Key for Application but Gateway and Organization’s API Key. So I generated Organization’s API Key with `Grant all current and future rights` and tried to connect with `<Organization ID>@ttn` as an username and Organization’s API Key as a password but rejected. So I Tried to connect with `<Application ID>@ttn` as an username and Organization’s API Key as a password then it was successfully connected but still having same result. Receiving only messages for another topic but message for `gateway status` is still not received ☹

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/not-receiving-mqtt-message-for-gateway-status-topic/57215)._
