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)"


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.

|improve this answer|||||
  • I have already restarted the server but still issue not resolved. – srg May 20 '19 at 12:54
  • Hello @srg please check now it should be work. I have edited the answer – Surendra Kumar Ahir May 22 '19 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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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