Tag: apq
-
Why the error `Failed to execute ‘text’ on ‘Response’: body stream already read` if I’m re-assigning res.json?
1 I’m trying to use the code I found here for APQ (automatic persisted queries) and graphql-request. But if I use the code like described: export const graphQLClient = new GraphQLClient("https://localhost:3000", { fetch: createPersistedQueryFetch(fetch), }); I’m getting this error in browser’s console: TypeError: Failed to execute ‘text’ on ‘Response’: body stream already read at getResult…