[Bug] GraphQL query returns null for customer tags

[Bug] GraphQL query returns null for customer tags

DCHunt
Visitor
1 0 0

I just found an issue today that wasn't there a couple weeks ago. It appears when doing a GraphQL query against the StoreFront API it is returning null for the whole query if you try to retrieve customer tags. When this query was last ran a couple weeks ago everything was returned properly.

 

For example the following query is valid and currently works fine...

 

    query customer($customerAccessToken: String!) {
        customer(customerAccessToken: $customerAccessToken) {
            displayName
            email
        }
    }

 

The return from this query is {"customer":{"displayName":"John Doe","email":"repeater@gmail.com"}}

 

When adding the tags field to the query like below the entire query returns null...

 

    query customer($customerAccessToken: String!) {
        customer(customerAccessToken: $customerAccessToken) {
            displayName
            email
            tags
        }
    }

 

The return from this query  is {"customer":null}

 

Why did the second query work before but now when adding tags it fails? The account being queried does have tags associated with it.

Replies 0 (0)