woo-next icon indicating copy to clipboard operation
woo-next copied to clipboard

Request to <endpoint>/graphql fail

Open alextaymx opened this issue 3 years ago • 3 comments

Error: Unexpected token < in JSON at position 0

May I know what caused this issue? I installed the plugins listed on the README, but somehow the endpoint still couldnt work

alextaymx avatar Nov 21 '21 14:11 alextaymx

ApolloError: Unexpected token < in JSON at position 0 at new ApolloError (/Users/alex/GitHub/woo-next/node_modules/@apollo/client/errors/errors.cjs.js:31:28) at /Users/alex/GitHub/woo-next/node_modules/@apollo/client/core/core.cjs.js:1492:19 at both (/Users/alex/GitHub/woo-

response: Response { size: 0, timeout: 0, [Symbol(Body internals)]: [Object], [Symbol(Response internals)]: [Object] }, statusCode: 404, bodyText: '\n' + '

\n' + '404 Not Found\n' + '\n' + '

Not Found

\n' + '

The requested URL was not found on this server.

\n' + '\n' }, extraInfo: undefined, page: '/' }

alextaymx avatar Nov 21 '21 14:11 alextaymx

Did you try using these? https://github.com/imranhsayed/woo-next/tree/master/wordpress/plugins

imranhsayed avatar Jan 08 '22 04:01 imranhsayed

I had a "maintenance mode" plugin active and I was having the same issue. I deleted it and it worked.

edu-damasceno avatar Mar 13 '22 11:03 edu-damasceno