Skip to content

Improve error reporting when API server authorization fails #41

@mlwilkerson

Description

@mlwilkerson

Sometimes, there's this error on the JavaScript console, when using a Kit:

Font Awesome Icon Chooser GraphQL query errors

The body of the HTTP response is:

{"data":{"me":null},"errors":[{"locations":[{"column":9,"line":3}],"message":"unauthorized","path":["me"]}]}

Because this issue is apparently specific to authorization, and that can be discovered from the JSON data in the HTTP response, it may be better to indicate the cause of the problem as authorization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions