# 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:** 3

<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 12, 2020, 7:53pm UTC](https://www.thethingsnetwork.org/forum/t/data-storage-device-id-query-not-working/40516/3 "2020-10-12T19:53:15Z")

</div>

> [@kwadten](#):
>
> I get a 204 (No Content) back.

Did you receive any uplinks in the past hour? (Assuming the integration was enabled at the time the uplinks were received.)

If you’re using a Decoder in TTN Console, then beware that the Data Storage Integration [silently fails for attributes with `null` values](https://www.thethingsnetwork.org/forum/t/data-storage-not-showing-decoded-data-and-only-stores-data-two-times-a-day/39316/9).

> [@mattb1969](#):
>
> ?last=7d

Indeed, that may surely help. The default is 1 hour.

Asides: note that a non-existing device ID will return 204 No Content too (if it does adhere to the naming rules). And note that the integration will store at most 7 days of data. There may also be some [limit for the maximum number of results](https://www.thethingsnetwork.org/forum/t/is-there-any-limit-in-the-number-of-results-when-querying-the-data-storage-integration/35430), but one should not run into that when adhering to the Fair Access Policy.

---

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