Getting "TypeError: Network request failed" only on Android?

Both iOS and web works fine with my data source but when I tried on Android, I got “TypeError: Network request failed” error. Has anyone had similar issue before? what am I missing?

1 Like

I just have a conjecture. I have run into the same problem. It works with some URLs and not others. I am assuming you are trying to test a data resource you defined.

I am thinking the difference is that in the working case, the backend just returns data, and in the case it fails, a promise is returned and one is supposed to “await” but AppGyver REST API doesn’t.

This is not my case. I have my own data source and my own backend server. I am logging everything coming into the server but nothing whenever the request is initiated from Android.