# Dealing with Network errors in Apollo Client

**URL:** <https://community.apollographql.com/t/dealing-with-network-errors-in-apollo-client/4062>\
**Category:** Client SDKs\
**Tags:** client, web\
**Created:** [July 19, 2022, 4:04pm UTC](https://community.apollographql.com/t/dealing-with-network-errors-in-apollo-client/4062 "2022-07-19T16:04:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_pat](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mr\_pat](https://community.apollographql.com/u/mr_pat)\
**Post date:** [July 19, 2022, 4:04pm UTC](https://community.apollographql.com/t/dealing-with-network-errors-in-apollo-client/4062/1 "2022-07-19T16:04:12Z")

</div>

Hey folks,

we are running our app in production for 2 months+ already, and we are observing a many of different Apollo Client HTTP/Network errors in Sentry. We are unable to replicate them and not sure what to do with them. It seems to me that some should be retried, others should be ignored, but would love if someone could share their thoughts.

Here’s a list of all the network error messages caught by our Error Link:

1. Unexpected token \< in JSON at position 2
2. Load failed
3. JSON Parse error: Unrecognized token ‘\<’
4. Response not successful: Received status code 400
5. Failed to fetch
6. NetworkError when attempting to fetch resource.
7. JSON.parse: unexpected character at line 1 column 2 of the JSON data
8. request to `<our api url>` failed, reason: read ECONNRESET
9. cannot parse response
10. The network connection was lost.
11. canceled
12. The request timed out.
13. The operation couldn’t be completed. Protocol error

---

<div class="post-metadata">

**Author:** ![jpvajda](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/jpvajda/32/2116_2.png) [@jpvajda](https://community.apollographql.com/u/jpvajda)\
**Post date:** [July 22, 2022, 7:01pm UTC](https://community.apollographql.com/t/dealing-with-network-errors-in-apollo-client/4062/2 "2022-07-22T19:01:53Z")

</div>

👋 I’m just adding a related issue the Apollo Client team is looking into for reference to this post:

[https://github.com/apollographql/apollo-client/issues/7312](https://github.com/apollographql/apollo-client/issues/7312)
