Skip to content

React Dashboard: an Ultimate Guide: Unhandled Rejection (Error): GraphQL error: Variable 'input' has coerced Null value for NonNull type 'ID!' #2096

@m987987

Description

@m987987

Describe the bug
When starting the dashboard-app, after following the react dashboard ultimate guide, an error appears soon after being shown the actual dashboard containing charts.

To Reproduce
Steps to reproduce the behavior:

  1. Begin this guide https://react-dashboard.cube.dev/
  2. At the end of part two: "Authentication and GraphQL API" when starting the dashboard-app, everything appears fine for 2-3 seconds. Then the app crashes with the error:
    Unhandled Rejection (Error): GraphQL error: Variable 'input' has coerced Null value for NonNull type 'ID!'

Expected behavior
Show the dashboard, and do not crash. Instead of showing a perfect dashboard and soon after crash.

Screenshots
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugLEGACY. Use the Bug issue type insteadclient:playgroundIssues relating to the Developer Playgroundhelp wantedCommunity contributions are welcome.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions