# Extract value from JSON

**URL:** <https://community.thunkable.com/t/extract-value-from-json/1709142>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [February 1, 2022, 2:24pm UTC](https://community.thunkable.com/t/extract-value-from-json/1709142 "2022-02-01T14:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 2, 2022, 4:19am UTC](https://community.thunkable.com/t/extract-value-from-json/1709142/4 "2022-02-02T04:19:52Z")

</div>

Your blocks look correct and should work as long as the API server is generating a response. What is the value of the green `error` block when you preview the project?

You can also try (temporarily) replacing the green `response` block with a text block and pasting in the contents of the txt file you posted. That should also work as a test.

I couldn’t preview the demo I made because of [this problem](https://community.thunkable.com/t/cant-edit-or-preview-projects/1710542).

---

_[View the full topic](https://community.thunkable.com/t/extract-value-from-json/1709142)._
