Empty customer graphql query networkStatus 7

Solved
Highlighted
Tourist
10 3 3

Hi, 

 

I'm making a query using useQuery from @shopify/react-graphql.  No errors are returned other than networkStatus 7 and a blank customer. 

query GetCustomer ($customerAccessToken: String! ) {
  customer(customerAccessToken: $customerAccessToken) {
    id
  }
}


I'm able to successfully create an access token with the following query:

mutation customerAccessTokenCreate($input: CustomerAccessTokenCreateInput!) {
    customerAccessTokenCreate(input: $input) {
      userErrors {
        field
        message
      }

      customerAccessToken {
        accessToken
        expiresAt
      }
    }
  }

And using that token returns no customer. 
Screen Shot 2020-05-14 at 7.51.03 AM.png


0 Likes
Highlighted
Tourist
10 3 3

This is an accepted solution.

Working now.  One of the nested items in my query was missing a parameter. 


1 Like
Highlighted
Excursionist
22 2 1

Which was?

0 Likes