Hi, i'm using custom UI - react. i have supertokens core installed in local. used 'supertokens start...
g

gsj

over 1 year ago
Hi, i'm using custom UI - react. i have supertokens core installed in local. used 'supertokens start' to run it. when i ping curl http://localhost:3567/hello i'm getting reply hello, but in the app when i try to http://localhost:3001/auth/signup, it shows 500 status code on sign up endpoint and also tried in postman it's throwing error as TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11372:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at sendRequestHelper._a (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\querier.js:51:36) at Querier.sendRequestHelper (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\querier.js:326:32) at Querier.getAPIVersion (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\querier.js:41:38) at sendRequestHelper._a (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\querier.js:177:38) at Querier.sendRequestHelper (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\querier.js:326:32) at Querier.sendGetRequest (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\querier.js:173:40) at Object.listUsersByAccountInfo (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\recipe\accountlinking\recipeImplementation.js:161:26) at Recipe.isSignInUpAllowedHelper (C:\Users\gouta\supertokens-customapp\backend\node_modules\supertokens-node\lib\build\recipe\accountlinking\recipe.js:280:25) supertokens core is running as you can see in the image. if anyone facing same issue and got it resolved kindly share the solution.