Error response external api
See original GitHub issueGood evening, im developing an app with an external API. In web, ionic dev app and npx cap serve, all works fine, but when i try to package the app with capacitor and deploy in android studio, i have this error with all requests:
Login Error: {"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":null,"ok":false,"name":"HttpErrorResponse","message":"Http failure response for (unknown url): 0 Unknown Error","error":{"isTrusted":true}}
Does anyone know why?
Regards.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:22 (7 by maintainers)
Top Results From Across the Web
How to Handle an External API Call Error in Workflows
One way to handle an error is to use Error Handling – If Error card. It's similar to try/catch logic. The card has...
Read more >Okta Workflows How-To: Handling an External API Call Error
One way to handle an error is to use Error Handling – If Error card. It's similar to try/catch logic.
Read more >Best Practices for REST API Error Handling - Baeldung
In this tutorial, we'll learn about some of the best practices for handling REST API errors, including useful approaches for providing users ...
Read more >Troubleshoot External API Calls or Service Requests from ...
HTTP REST Troubleshooting · Step 1: Check the external service flow path · Step 2: Check if a proxy is sent with the...
Read more >REST API status when external APIs are down - Best Practices
I'm working on a new API so I can take it any direction. In my case client invokes my API which internally invokes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can set
usesCleartextTraffic="true"
only for debug build like this AndroidManifest.xmlbuild.gradle
because by default the current android version blocks access to http. however as i now learned this can be disabled via
android:usesCleartextTraffic="true"
, which i did now.