admin.listSessions returns 404 while userId is right

If I try to get every user session, I'll get a 404 error. Although I directly copied the User-ID and hardcoded it, it gives me 404:
        const userSessions = await authClient.admin.listSessions({
          userId: "9ogba97oE4UnKEQtEJZk2"
        });
Was this page helpful?