You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I have a really weird error when I try to perform a query the payload gets altered, and this results in a 400 error
this is my gql query
export const GET_CATEGORIES = gql`
query {
categories {
name
id
}
}
`;
and in the network tab this is how the payload looks like query: {\n categories {\n name\n id\n __typename\n }\n}
I get an error saying [GraphqlQL] must provide query
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys, I have a really weird error when I try to perform a query the payload gets altered, and this results in a 400 error
this is my gql query
and in the network tab this is how the payload looks like
query: {\n categories {\n name\n id\n __typename\n }\n}
I get an error saying
[GraphqlQL] must provide query
Beta Was this translation helpful? Give feedback.
All reactions