https://supertokens.com/ logo
404 error
d

devertry|deepsheep

04/13/2023, 10:15 AM
I get a 404 not found on /auth/signup .... I use fastapi and don't know why I give my token and change anything in the app
r

rp

04/13/2023, 10:16 AM
hey @devertry|deepsheep can you enable backend debug logs and show the output when you call this API?
r

rp

04/13/2023, 10:26 AM
and which recipes have you initialised? Also, when you send the request, do you see more debug logs?
d

devertry|deepsheep

04/13/2023, 10:28 AM
no more debiug logs ...
r

rp

04/13/2023, 10:28 AM
have you added the middleware?
d

devertry|deepsheep

04/13/2023, 10:33 AM
yes
r

rp

04/13/2023, 10:33 AM
the middleware is not being hit at all. How have you added the middleware?
d

devertry|deepsheep

04/13/2023, 10:37 AM
do i nee a middleware if i use juste password/email ?
r

rp

04/13/2023, 10:37 AM
you do
the API for signup is exposed via the middleware
d

devertry|deepsheep

04/13/2023, 10:38 AM
com.supertokens {"t": "2023-04-13T10:38:58.074Z", "sdkVer": "0.12.6", "message": "middleware: Not handling because no recipe matched", "file": "supertokens.py:508"}
r

rp

04/13/2023, 10:38 AM
right. Which recipe have you initilaised?
d

devertry|deepsheep

04/13/2023, 10:44 AM
py
 dashboard.init(),
        session.init(),
        emailpassword.init()
thanks
r

rp

04/13/2023, 10:44 AM
so this solved it?
d

devertry|deepsheep

04/13/2023, 10:45 AM
no again the same message ....
r

rp

04/13/2023, 10:46 AM
did you add emailpassword just now or was it there from before?
d

devertry|deepsheep

04/13/2023, 12:22 PM
done
need to add thirdpartyEmailPassword middelware and EmailPassword
thnaks for debuging it's just super cool !
r

rp

04/13/2023, 12:24 PM
great