Just a question, is it normal for the core to be c...
# support-questions-legacy
l
Just a question, is it normal for the core to be calling the
/recipe/user?userId={user_id}
endpoint 6 times for every
verify_session
call? I turned on the debug logs and noticed that the same call is being made multiple times each time. This is for the middleware for a normal API call that queries SuperTokens and populates the user object.
r
Hey. This is certainly not normal. Have you enabled email verification in required mode?
This can happen when the email verification status in the access token needs to be resynced with the db cause it’s too old. So it should happen once every 10 mins or so but not all the time
And which recipes have you initialised on the backend? Cause even then, calling that api six times is strange. It should call me max 2-3 times.
5 Views