Skip to content

Unhandled error Network error #14970

Closed
Closed
@haris-ramzan

Description

@haris-ramzan

Is this a bug?

Unhandled error Network error: Network request failed Error: Network error: Network request failed
at new ApolloError ()

Environment

  1. react-native:0.44.0
  2. react-apollo:1.1.1
  3. apollo-client:1.0.4

Steps to Reproduce

  1. When turn off internet connection.
  2. Render
  3. 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 ()"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions