# Unable to parse Web API response

**URL:** https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371
**Category:** Questions about Thunkable X
**Created:** [January 16, 2022, 9:28am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371 "2022-01-16T09:28:06Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [January 18, 2022, 4:55am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/21 "2022-01-18T04:55:38Z")

</div>

This link is my app according to your suggestions

[Thunkable](https://x.thunkable.com/copy/fbdcc98b20f180a3a9ac880d510d7753) 1

1.Yes  
2.Yes  
3.No

---

<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: [January 18, 2022, 5:38am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/22 "2022-01-18T05:38:28Z")

</div>

**You didn’t fix any of the problems I mentioned.** Please try the project I posted a link to above ([Unable to parse Web API response - #18 by tatiang](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/18)) and let me know if that works when Live Tested on an Android device. It should.

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [January 18, 2022, 6:03am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/23 "2022-01-18T06:03:51Z")

</div>

sorry, I got the wrong link

here the right one  
[https://x.thunkable.com/copy/5115cb3a8b8397b3a78b0dc1323223db](https://x.thunkable.com/copy/5115cb3a8b8397b3a78b0dc1323223db)

1.Yes  
2.Yes  
3.NO

---

<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: [January 18, 2022, 6:09am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/24 "2022-01-18T06:09:16Z")

</div>

When I test it, it also does NOT work in Thunkable Live on an Android device. Even this doesn’t return any response (and the green `error` block is empty when I check its value):

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/2/b2ec0baa33b92ea1193d570a6858ed8035b5544e.png)

It works fine on an iPhone.

Maybe there is some problem with Google Scripts and Android devices? I don’t know.

---

<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: [January 18, 2022, 6:18am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/25 "2022-01-18T06:18:03Z")

</div>

I think you should file a bug report because on both iOS and Android devices, I can see the script response in a Chrome browser (I made a shortcut link: [https://bit.ly/androidz123](https://bit.ly/androidz123)). So I think it’s something Thunkable is doing to run the script or get its response.

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [January 18, 2022, 5:23pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/26 "2022-01-18T17:23:47Z")

</div>

hi

I wouldn’t insist. I will proceed otherwise.  
in any case, thank you for your help, for the time you devoted to me,  
without forgetting muneer

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [January 18, 2022, 5:36pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/27 "2022-01-18T17:36:21Z")

</div>

What kind of device are you running on @bibbi and @tatiang ? I ran this on a Nexus 2 in both live preview and as a downloaded apk with this block combo and didnt get an error

 ![Screen Shot 2022-01-18 at 12.36.01 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/b/cb676b84143b14f7ec111498aad3804114171698.png)

---

<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: [January 18, 2022, 5:38pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/28 "2022-01-18T17:38:39Z")

</div>

I’m using a OnePlus Nord N100 5G running Android 11.

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [January 18, 2022, 5:49pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/29 "2022-01-18T17:49:12Z")

</div>

hi

my device is a realme 6 android 11

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [January 18, 2022, 9:07pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/30 "2022-01-18T21:07:17Z")

</div>

Can you guys try this project for me?  
[https://x.thunkable.com/projectPage/61e72aaaa686bf00118de789](https://x.thunkable.com/projectPage/61e72aaaa686bf00118de789)

Just to verify?

@bibbi @tatiang

---

<div class="post-metadata">

### Author: ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)
#### Post date: [January 19, 2022, 3:49am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/31 "2022-01-19T03:49:22Z")

</div>

hi

I just tried it  
that works !!!

two small questions  
how? why?

---

<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: [January 19, 2022, 6:19am UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/33 "2022-01-19T06:19:05Z")

</div>

@bibbi @jared

Aha! Figured it out. **Delete the loading icon and it all works perfectly** , even the older project ([Thunkable](https://x.thunkable.com/copy/5115cb3a8b8397b3a78b0dc1323223db)) from [Unable to parse Web API response - #23 by bibbi](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/23).

Here’s that exact same project with the loading icon deleted and the loading icon blocks removed:

[https://x.thunkable.com/copy/e523e49630f02d699a504dbfca4225af](https://x.thunkable.com/copy/e523e49630f02d699a504dbfca4225af)

The blocks don’t affect it, though, just the presence of the loading icon component.

This could be related to this bug report: [Adding loading icon bugs project · Issue #864 · thunkable/thunkable-issues · GitHub](https://github.com/thunkable/thunkable-issues/issues/864)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 19, 2022, 3:38pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/34 "2022-01-19T15:38:50Z")

</div>

I was in a trip and could not be part of this adventure. I think I missed a lot.

However, let me add some comments on my side. I do not believe that there is something wrong with the `Loading Icon` in this particular case despite of the BUG report.

There is a more subtle issue with how Thunkable process `Starts/Opens` events in Android. You can safely leave the `Loading Icon` in place but change the `Opens` event of the screen to `Starts` and the original project of @bibbi should work just fine.

---

<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: [January 19, 2022, 4:32pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/35 "2022-01-19T16:32:07Z")

</div>

Oh, interesting. Good catch!

---

<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: [January 19, 2022, 6:10pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/36 "2022-01-19T18:10:28Z")

</div>

Here’s a simplified project that demonstrates the issue (I left the loading icon in):

[https://x.thunkable.com/copy/bc38cec6164a60886181360fdecc1162](https://x.thunkable.com/copy/bc38cec6164a60886181360fdecc1162)

The first screen uses When Screen Opens and the second screen uses When Screen Starts.

**In Thunkable Live on iOS, both screens function properly** , showing the list of email addresses in the label.

**In Thunkable Live on Android, the first screen does not function properly** , showing “label” in the label. The second screen does function properly, showing the list of email addresses in the label.

However, if I delete the loading icon, both screens work on both devices:

[https://x.thunkable.com/copy/c7fb15dd86cac79bd8f970bbd4b9ddf7](https://x.thunkable.com/copy/c7fb15dd86cac79bd8f970bbd4b9ddf7)

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [January 19, 2022, 6:39pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/37 "2022-01-19T18:39:40Z")

</div>

Do you know is it only the loading icon or do other blocks make this same issue occur? Thank you for helping to sort this out @muneer and @tatiang

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 19, 2022, 6:42pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/38 "2022-01-19T18:42:14Z")

</div>

Thanks @tatiang for the example.

However, I always have unexpected inputs.

The `Screen Opens/Starts BUG` is somehow strange and I have previously tested it and it goes this way.

The first screen in the project should have `Starts`, any other screens can have `Opens`.

So, based on this, Can you have the first screen using `Starts` and the other screen using `Opens` which is the reverse of your example and you will find that both screens will work in Android.

---

<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: [January 19, 2022, 6:48pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/39 "2022-01-19T18:48:25Z")

</div>

@muneer

Here’s the project with Screen Starts first:

[https://x.thunkable.com/copy/377766f9c7e167c06c6603a18078824b](https://x.thunkable.com/copy/377766f9c7e167c06c6603a18078824b)

Both screens work on iOS and Android.

@jared I don’t know. I’m still not quite sure how the loading icon relates to the screen starts/opens event.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 19, 2022, 6:51pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/40 "2022-01-19T18:51:09Z")

</div>

> [@tatiang](#):
>
> I don’t know.

Me too. I’m just sharing observations that I had days ago.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [January 19, 2022, 7:32pm UTC](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371/41 "2022-01-19T19:32:06Z")

</div>

Thanks for everyones input. I have escalated this as an internal bug with a reliably reproducible and simplified example. I appreciate the help and will keep this channel updated when the bug is resolved.

[Previous page](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371.md?page=1)

[Next page](https://community.thunkable.com/t/unable-to-parse-web-api-response/1674371.md?page=3)
