Unhandled error Network error
See original GitHub issueIs this a bug?
Unhandled error Network error: Network request failed Error: Network error: Network request failed at new ApolloError ()
Environment
react-native
:0.44.0react-apollo
:1.1.1apollo-client
:1.0.4
Steps to Reproduce
- When turn off internet connection.
- Render
- When turn off internet during app navigation.
Expected Behavior
Component should render without data and errors received through props. The same when its a query error or some kind of http error.
Actual Behavior
The Red screen occur on failure of internet connection with this error “Unhandled error Network error: Network request failed Error: Network error: Network request failed at new ApolloError ()”
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How can I fix the "Unhandled Rejection (error) - Stack Overflow
I fixed this issue by adding an Access-Control-Allow-Credentials header to HTTP responses in .NET CORE application. This header tells the ...
Read more >Network error is causing an unhandled exception · Issue #5058
Network errors should always pop up on error link. Actual outcome: An exception that was raised by fetch is causing an unhandled exception....
Read more >Handling operation errors - Apollo GraphQL Docs
When a network error occurs, Apollo Client adds it to the error.networkError field returned by your useQuery call (or whichever operation hook you...
Read more >MLB The Show 22 Network Error: How To Fix The “Unhandled ...
One of the first things to do is check the server status for the game. · Assuming the servers are working, start with...
Read more >How to handle unhandledrejection errors using axios
How to handle unhandledrejection errors using axios. Axios is a great library, but unhandled promise rejections can be a problem. How do we...
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
@haris-ramzan Did you ever resolve this issue?
Same here.
“react-apollo”: “2.0.4”, “react-native”: “0.52.0”,