# Web API Error on Android: Network request failed

**URL:** https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289
**Category:** Questions about Thunkable X
**Created:** [June 7, 2021, 6:33pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289 "2021-06-07T18:33:01Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 7, 2021, 6:33pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/1 "2021-06-07T18:33:02Z")

</div>

Hi,

I am developing an upp using the [Hashify API](https://documenter.getpostman.com/view/3362843/RWMCt9WU). I have the following code in my project:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/5/65935d341d750116a2792097ec6cb0eb33781d83.png)

On my iOS device it gives the result as expected:

 ![IMG_8694](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/5/b55ee7096a81d9232bc681e8c556cf9d0dc41ed9.png)

But on Android I get an error:

 ![Screenshot_20210607-200924_Thunkable](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/9098488710475d7302d7f06d7d343fa965b01523.jpeg)

Do you have any idea, why I get an error?

There is a [similar topic](https://community.thunkable.com/t/error-network-request-failed-for-web-api-get-on-android/1042719/13) in the community, but I think in my case it is not because of the SSL Certification.

---

<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: [June 7, 2021, 6:57pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/2 "2021-06-07T18:57:15Z")

</div>

What happens when you run the API from the browser of your Android device?

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 7, 2021, 7:02pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/3 "2021-06-07T19:02:46Z")

</div>

Thank you for your answer, it works:

 ![Screenshot_20210607-210200_Samsung Internet](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/8/18226338b002402ac7b387bdfcd7110bf386853d.jpeg)

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 7, 2021, 7:07pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/4 "2021-06-07T19:07:17Z")

</div>

I made a sample project: [Thunkable](https://x.thunkable.com/copy/e23f54dfc17af116bb877d6a0a2d4d29)

I hope we can solve it, as it would be very important.

---

<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: [June 7, 2021, 7:18pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/5 "2021-06-07T19:18:15Z")

</div>

Working

 ![Screenshot_20210607_221717](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/e/4ee4a147c77fb48a3dfcda461106ce53effcb315.jpeg)

I made this change in your bocks  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/e/6e569821169a55477dc28c8d704a56d31e7e018b.png)

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 7, 2021, 7:22pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/6 "2021-06-07T19:22:50Z")

</div>

That is interesting. Thank you for your test @muneer! I suppose that you are using Android?

I tested the app on my Samsung Galaxy S8+ and even on BlueStacks (with your changed blocks as well), but I get the same error.

Is it a phone specific error?

---

<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: [June 7, 2021, 7:24pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/7 "2021-06-07T19:24:16Z")

</div>

Yes, I use Android.

Just kill the Thunkable Live App and start it again and it should work.

[Update]  
I just removed the header and tested it and it worked.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/3/53230440a960bf3fb7ec00eeba54090927df5da1.png)

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 7, 2021, 7:41pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/8 "2021-06-07T19:41:45Z")

</div>

> [@muneer](#):
>
> I just removed the header and tested it and it worked.

I am getting the same error on Android again and again. 😥 😥

---

<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: [June 7, 2021, 7:56pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/9 "2021-06-07T19:56:09Z")

</div>

It’s working with me in both Android and Web test.

You can test to generate the APK file and run it from your phone. If it works then you’re OK.

It would help if someone else with Android phone tests it and see if it works.

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 21, 2021, 7:46am UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/10 "2021-06-21T07:46:11Z")

</div>

Hi there,

I published my app to the Play Store and a lot of people report me this behaviour, the API and so the function doesn’t work.

Why do I get this error on some Android device?

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [June 21, 2021, 7:59am UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/11 "2021-06-21T07:59:30Z")

</div>

Well, I think I solved this problem, probably there was a bug on Thunkable, as by deleting the blocks and setting the parameters from the property panel, it does work:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/5/552adfdb2ed5b75b760d1849c53fbf31fab4c5a6.png)

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

---

<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:20pm UTC](https://community.thunkable.com/t/web-api-error-on-android-network-request-failed/1331289/12 "2024-11-08T13:20:26Z")

</div>


