# Error: Not found: Device with ID

**URL:** <https://community.homey.app/t/error-not-found-device-with-id/107708>\
**Category:** Developers\
**Created:** [April 5, 2024, 1:29pm UTC](https://community.homey.app/t/error-not-found-device-with-id/107708 "2024-04-05T13:29:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emiliano\_Quetimporta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/emiliano_quetimporta/32/73402_2.png) [@Emiliano\_Quetimporta](https://community.homey.app/u/Emiliano_Quetimporta)\
**Post date:** [April 5, 2024, 1:29pm UTC](https://community.homey.app/t/error-not-found-device-with-id/107708/1 "2024-04-05T13:29:19Z")

</div>

Anyone knows why this is happening? My app crashes some times on this (not very often), But I don’t understand why the device is not found when I’m calling its method setStoreValue, clearly it exists as I’m using its method…

Error: Not Found: Device with ID 0e26fcfe-d875-49af-b3dc-27c90e6aa36c  
at Remote Process  
at HomeyClient.emit (/node\_modules/@athombv/homey-apps-sdk-v3/lib/HomeyClient.js:44:23)  
at Object.emit (/node\_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:78:54)  
at Object.emit (/node\_modules/@athombv/homey-apps-sdk-v3/lib/Driver.js:126:50)  
at MyDevice.setStoreValue

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 5, 2024, 3:29pm UTC](https://community.homey.app/t/error-not-found-device-with-id/107708/2 "2024-04-05T15:29:13Z")

</div>

This usually happens when you update a device (in your case using `setStoreValue()`) from a timer (`setInterval/setTimeout`) or event handler when the device was deleted by the user (in which case any timers and event listeners should be removed to prevent the issue from happening).

The device _instance_ will still exist (hence the ability to call `setStoreValue`), but any underlying SDK methods will likely fail.

---

<div class="post-metadata">

**Author:** ![Emiliano\_Quetimporta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/emiliano_quetimporta/32/73402_2.png) [@Emiliano\_Quetimporta](https://community.homey.app/u/Emiliano_Quetimporta)\
**Post date:** [April 5, 2024, 3:57pm UTC](https://community.homey.app/t/error-not-found-device-with-id/107708/4 "2024-04-05T15:57:59Z")

</div>

This is very logical, also why I’m not seeing this a lot. Thanks!
