GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — signIn not working · Issue #23 · javascripteverywhere/web

signIn not working #23

New issue
Copy link
New issue
Copy link
Open
Open
signIn not working#23
Copy link

Description

@RedHoodJT1988
RedHoodJT1988
opened on Oct 19, 2020
Issue body actions

I have been trying for the past three days to get the signIn mutation to work for the web client. I keep receiving an error when I try to sign in. Error:

Uncaught (in promise) Error: Network error: Response not successful: Received status code 400

I can use the signIn mutation just fine on the backend through GraphQL Playground. I have deleted my files and copied the code from the project into brand new files and I am still receiving the error. I don't know what is causing the error.

Reacted by MarioG8 and SangHyup

Activity

  1. P33tr commented on Oct 30, 2020

    @P33tr
    P33tr
    on Oct 30, 2020
    More actions

    wouldn't be those backticks could it be. check the gql is enclosed in ` not '

  2. MarioG8 commented on Jan 23, 2021

    @MarioG8
    MarioG8
    on Jan 23, 2021
    More actions

    Try my approach with schema.js...I've finished book ..nearly ...(3/4) and so far is working fine ...
    Best Regards :)

    Reacted by MarioG8
  3. JungSangHyup commented on May 27, 2021

    @JungSangHyup
    JungSangHyup
    on May 27, 2021
    More actions

    let's try

    pages/signin.js ->

    const SIGNIN_USER = gql
    mutation signIn($email: String!, $password: String!){
    signIn(username: "", email: $email, password: $password)
    }

    it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.