i have set the urls as:


But Getting Error Response In Browser

message "Error: ServiceResolver: Request to http://magentovenia.com/graphql failed: ServerParseError: Unexpected token < in JSON at position 8\n at makePromise.then.catch.e (/var/www/html/magento/pwa-studio/packages/upward-js/lib/resolvers/ServiceResolver.js:105:23)\n at process._tickCallback (internal/process/next_tick.js:68:7)"

2 Answers 2


Hello SRG

Please check you backend url configuration. Go to packages/venia-concept/.env Open this file and check MAGENTO_BACKEND_URL url

For my case it was


Add slash "/" at the end of url


It should be work.

May be it will help you.

  • I have already restarted the server but still issue not resolved.
    – srg
    Commented May 20, 2019 at 12:54
  • Hello @srg please check now it should be work. I have edited the answer Commented May 22, 2019 at 10:15

did you check whether your magento was installed properly, i mean are you able to go on your magento website ? In my case i was not be able to reach my magento website set on my local. After fix that problem, I just ran again the yarn command and it worked

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.