Hi everyone, who know why have this error ? : ```ts Error: SuperTokens core threw an error for a GET...
a
Hi everyone, who know why have this error ? :
Copy code
ts
Error: SuperTokens core threw an error for a GET request to path: '/dashboardauth/users/by-accountinfo' with status code: 400 and message: AppId or tenantId not found => Tenant with the following connectionURIDomain, appId and tenantId combination not found: (, public, dashboardauth)

    at Querier.sendRequestHelper (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/querier.js:361:27)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Querier.sendGetRequest (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/querier.js:173:40)
    at Object.listUsersByAccountInfo (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/recipe/accountlinking/recipeImplementation.js:161:26)
    at listUsersByAccountInfo (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/index.js:69:16)
My backend is hosted on my vps and same for the frontend. I share you my config for the backend and the frontend. thank's a lot to anyone who can help me
r
hey @astra.goat are you adding
dashboardauth
anywhere in your code? When querying the backend middleware or when querying the core?
a
I've put the backend on the VPS on port:3001 and i redirected it on https://ApiDomain/dashboardauth like that. I've forgot to put it on the first screenshot
r
Right. So the apiBasePath needs to have /dashboardAuth
a
where is apiBasePath ? It's on the backend or frontend ?
r
Both.
AppInfo
Search in our docs pls
a
ok
@rp_st Ok thx for your help ! i think i have fix this issue but now i have an other one 😢 if you can help me your are the best :
Copy code
Failed to add 4f532c658c0931@crankymonkey.info to allowlist: Error: SuperTokens core threw an error for a GET request to path: '/apiversion' with status code: 404 and message: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /auth/dashboardapiversion</pre>
</body>
</html>
When i start my server i receive this error
r
Yea.. here too the dashboard path is getting added. So check that pls
87 Views