# What should I put when no value is found

**URL:** <https://community.thunkable.com/t/what-should-i-put-when-no-value-is-found/49661>\
**Category:** Questions about Thunkable X\
**Created:** [September 30, 2018, 9:43pm UTC](https://community.thunkable.com/t/what-should-i-put-when-no-value-is-found/49661 "2018-09-30T21:43:58Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [October 2, 2018, 10:21pm UTC](https://community.thunkable.com/t/what-should-i-put-when-no-value-is-found/49661/10 "2018-10-02T22:21:18Z")

</div>

Just a note that in almost all cases the best and easiest way to check for an error in a `'then do'` section of a block is to simply test for `'if error'`. That is:

![51%20PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/e/eebc09679516a240af45d91ffa350e31f4dd13c7.png)

That `'error'` value will be a string describing the error.

Unfortunately the Local Storage component is the one case where we don’t (yet) provide an `'error'` block. We do, however, return the **string** “null” when there is no value from the Get block for the given key. The choice of returning a string, rather than a real null value (i.e. the “green null block”) was probably a bad choice on our part ☹

-Mark

---

_[View the full topic](https://community.thunkable.com/t/what-should-i-put-when-no-value-is-found/49661)._
