# V3 Gateway status request via https fails with "unauthenticated"

**URL:** <https://www.thethingsnetwork.org/forum/t/v3-gateway-status-request-via-https-fails-with-unauthenticated/46097>\
**Category:** Migrating Gateways to V3\
**Created:** [March 29, 2021, 6:03am UTC](https://www.thethingsnetwork.org/forum/t/v3-gateway-status-request-via-https-fails-with-unauthenticated/46097 "2021-03-29T06:03:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jensileinchen](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jensileinchen/32/46747_2.png) [@jensileinchen](https://www.thethingsnetwork.org/forum/u/jensileinchen)\
**Post date:** [March 29, 2021, 6:03am UTC](https://www.thethingsnetwork.org/forum/t/v3-gateway-status-request-via-https-fails-with-unauthenticated/46097/1 "2021-03-29T06:03:38Z")

</div>

Hi there – yesterday we tried to ask the v3 (experimental)-gateway status via https-GET-request:

`https://eu1.cloud.thethings.network/api/v3/gs/gateways/ttn-rhein-sieg-07/connection/stats`

but it fails with message “unauthenticated” - we double-checked in the v3. console of our gateway the checkbox for “Gateway status” = PUBLIC – yes, its activated. – Also we placed an API Key with the credentials for “Gateway status read” and tried to read via node-red. Here we included the API-Key as credential “Authorization” and within node-red its working fine here.

Today we are not sure about this status read function without credentials – as formerly (in v2 stack) we were able to ask all our community-gateways via https request without any authentication. Can somebody explain or evaluate this ? Thanks in advance !

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [March 29, 2021, 9:50am UTC](https://www.thethingsnetwork.org/forum/t/v3-gateway-status-request-via-https-fails-with-unauthenticated/46097/2 "2021-03-29T09:50:39Z")

</div>

There is no public API for querying gateway status in v3. It would be useful for debugging if this could be included, any thoughts on this @htdvisser?

The API you have used requires authentication in the headers as per docs.

---

<div class="post-metadata">

**Author:** ![htdvisser](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/htdvisser/32/45312_2.png) [@htdvisser](https://www.thethingsnetwork.org/forum/u/htdvisser)\
**Post date:** [March 29, 2021, 11:52am UTC](https://www.thethingsnetwork.org/forum/t/v3-gateway-status-request-via-https-fails-with-unauthenticated/46097/3 "2021-03-29T11:52:11Z")

</div>

It would indeed be useful if non-collaborator users can call that RPC. It won’t be available to unauthenticated callers, but any member of the network should be able to see the gateway status if the gateway settings allow it.

You can subscribe to [this GitHub issue](https://github.com/TheThingsNetwork/lorawan-stack/issues/3994) for updates.

In the meantime you could consider [creating an organization](https://eu1.cloud.thethings.network/console/organizations/add) for your local community, and giving that organization (some) rights on all gateways in your local community.

---

<div class="post-metadata">

**Author:** ![jensileinchen](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jensileinchen/32/46747_2.png) [@jensileinchen](https://www.thethingsnetwork.org/forum/u/jensileinchen)\
**Post date:** [March 29, 2021, 2:46pm UTC](https://www.thethingsnetwork.org/forum/t/v3-gateway-status-request-via-https-fails-with-unauthenticated/46097/4 "2021-03-29T14:46:44Z")

</div>

thanks a lot for your thoughts guys, i will follow up with node-red and share the results with a grafana dashboard for our local community !
