• Resolved namitdhupar

    (@namitdhupar)


    I recently migrated from localhost to live web hosting via the All in one migration plugin.
    However ever since then, I am not able to execute any graphql queries in the IDE and always get the following error:

    {
      "errors": {
        "message": "Unexpected token < in JSON at position 0",
        "stack": "SyntaxError: Unexpected token < in JSON at position 0"
      }
    }

    Image of a non working graphql requests in Hosted domain: https://i.imgur.com/oSNNdfk.png

    Image of a working graphql requests in localhost: https://i.imgur.com/7kpUmuE.png

    Any kind of help will be greatly appreciated

    • This topic was modified 2 years, 3 months ago by namitdhupar.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WPGraphql works on localhost but fails on hosted environment’ is closed to new replies.