# Data Storage Device ID Query Not Working

**URL:** <https://www.thethingsnetwork.org/forum/t/data-storage-device-id-query-not-working/40516>\
**Category:** TTN Network and Services\
**Created:** [October 12, 2020, 5:49pm UTC](https://www.thethingsnetwork.org/forum/t/data-storage-device-id-query-not-working/40516 "2020-10-12T17:49:30Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [October 15, 2020, 1:54pm UTC](https://www.thethingsnetwork.org/forum/t/data-storage-device-id-query-not-working/40516/11 "2020-10-15T13:54:56Z")

</div>

> [@kwadten](#):
>
> produces a response similar to this:
> 
> ```json
> ...
> "device_id": 5100,
> "device_id_1": "dl-pr26_5100",
> 
> ```

That’s weird. Any chance your payload format decoder is outputting an attribute called `device_id`? Or, if that is actually outputting `device_id_1`, then it seems the device id in TTN Console is simply `5100`? What if you use `5100` in the URL?

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/data-storage-device-id-query-not-working/40516)._
