# \[Solved\] get object from json

**URL:** <https://community.thunkable.com/t/solved-get-object-from-json/1224687>\
**Category:** Questions about Thunkable X\
**Tags:** json, error\
**Created:** [April 15, 2021, 2:08am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687 "2021-04-15T02:08:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 2:08am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/1 "2021-04-15T02:08:20Z")

</div>

So… i have an app that ive been using vpic to get information from for months now…

[https://vpic.nhtsa.dot.gov/api/](https://vpic.nhtsa.dot.gov/api/)

all of a sudden thunkable is unable to “get object from json”

Here’s an example of the json… its flat and its absolutely not my setup, which has been the same, unchanged. it must have happened sometime last week, but it cannot read this json for whatever reason. can someone else try and do this to see if its just me?

[https://vpic.nhtsa.dot.gov/api/vehicles/decodevinvalues/JH4DC53843C803693?format=json](https://vpic.nhtsa.dot.gov/api/vehicles/decodevinvalues/JH4DC53843C803693?format=json)

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 2:44am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/3 "2021-04-15T02:44:05Z")

</div>

I simplified is as much as possible, nothing!!! it _just_ refuses to do it.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/9/d97e19db61eb1729c3627f3b94ae0ee3df4f8ce9.png)

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 2:46am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/4 "2021-04-15T02:46:04Z")

</div>

the plot thickens, because it does it in the web version just fine…

Its 10:46 PM where i am, its time for bed… if anyone would be so kind as to try this and see if they get the same result i would be unbelievably grateful

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/8/480f06c6821138fcbdb844dd280b4d3d3c1db073.png)

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 3:32am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/5 "2021-04-15T03:32:34Z")

</div>

Update, i was too neurotic to just go to bed… **I had to uninstall and then reinstall the app to fix this.**

However, I do think the staff should absolutely see this.

---

<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:** [April 15, 2021, 3:52am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/6 "2021-04-15T03:52:25Z")

</div>

So are you saying that reinstalling Thunkable Live fixed this? Or that reinstalling the downloaded project on your phone fixed it?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [April 15, 2021, 5:35am UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/7 "2021-04-15T05:35:21Z")

</div>

Just acknowledging this I’ve seen your post!

> [@bluerfox15uht9](#):
>
> **I had to uninstall and then reinstall the app to fix this.**

Glad to hear that you got this working @bluerfox15uht9 do you know what version of the Live app you were using? (The current version is v265 and v266 will be out later this week)

> [@bluerfox15uht9](#):
>
> all of a sudden thunkable is unable to “get object from json”

Was there any change to the URL in your app? Were you looking at a cached version?

Was there any error message or error in the console that I can check for you?

Thanks

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 12:53pm UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/8 "2021-04-15T12:53:51Z")

</div>

I take it back, it seems like it still isn’t working properly and I cannot say why.

When an account is created, it automatically creates a database entry with a set of default information.

But it’s not popping any error codes

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 12:56pm UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/9 "2021-04-15T12:56:59Z")

</div>

Reinstalling thunkable live fixed it.

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [April 15, 2021, 1:23pm UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/10 "2021-04-15T13:23:57Z")

</div>

it just keep crashing to the re-launch screen or the “reload” screen, do you want a link to the project?

I got the one json thing working, but it looks like it’s not wanting to grab the number of engine cylinders from the json, and its messing up firebase somehow

EDIT: I’m not even going to question why, but changing the name of the stored variable fixed it. Not sure if that small piece of information is useful for the staff, but still. . .

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:25pm UTC](https://community.thunkable.com/t/solved-get-object-from-json/1224687/11 "2024-11-08T13:25:16Z")

</div>


