# nk.storageRead() return NULL

**URL:** <https://forum.heroiclabs.com/t/nk-storageread-return-null/5588>\
**Category:** Runtime Framework\
**Tags:** server-framework, typescript\
**Created:** [August 29, 2024, 7:35am UTC](https://forum.heroiclabs.com/t/nk-storageread-return-null/5588 "2024-08-29T07:35:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suraxiuxiu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/suraxiuxiu/32/1736_2.png) [@suraxiuxiu](https://forum.heroiclabs.com/u/suraxiuxiu)\
**Post date:** [August 29, 2024, 7:35am UTC](https://forum.heroiclabs.com/t/nk-storageread-return-null/5588/1 "2024-08-29T07:35:59Z")

</div>

let readObject: nkruntime.StorageReadRequest = [  
{ collection: ‘CDKEY’, key: ‘use’, adminId }, { collection: ‘CDKEY’, key: ‘unuse’, adminId }];  
let objects = nk.storageRead(readObject);  
let usedKeys = objects[0].value;  
let unusedKeys = objects[1].value;

I have stored some data under the administrator account,I’m using this code to read storagebejct stored under the administrator account. Most of the time, it works fine, but sometimes it returns null, and I can’t figure out why. Does anyone know the reason?

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [September 2, 2024, 9:55am UTC](https://forum.heroiclabs.com/t/nk-storageread-return-null/5588/2 "2024-09-02T09:55:57Z")

</div>

Hello @suraxiuxiu,

We’re not aware of any issues with the `storageRead` API. If you can reproduce the issue please provide a code sample that we can use to test.

Best.
