I'm using nextjs and (new to graphql) trying fetch data from wordpress with graphql endpoint
I followed this repo
https://github.com/alexander-young/wp-next-headless
with this tutorial
https://www.youtube.com/watch?v=bIc6NrPsHjs
but getting this err
FetchError: invalid json response body at http://www.ahmedsamir.rf.gd/graphql reason: Unexpected token < in JSON at position 0
the part about the query works fine, any idea?