Hey! 👋 I'm using the FDI because none of the cli...
# support-questions-legacy
i
Hey! 👋 I'm using the FDI because none of the client SDKs applies to my tech stack and I'm getting a 500 error when trying to refresh the session when the access token is expired. I know I'm sending the correct parameters because it works if I send the refresh session request before the access token is expired. Any direction on how to investigate the issue? The backend is written in NestJs.
r
hey @iruizmar which frontend are you using btw?
Also, can you add an error handler on the nestjs backend and log out the error object?
i
It's a Kotlin Multiplatform app (web, Android and iOS). Network code is written purely in Kotlin (not Java) and, thus, can't use the Android SDK.
This is all I'm getting:
Copy code
ERROR [ExceptionsHandler] SuperTokens core threw an error for a POST request to path: '/recipe/session/refresh' with status code: 500 and message: Internal Error
r
hmm. Interesting
Right. Can you see the logs in the core?
i
Core is managed, is there a console on the app?
r
i see. let me check
does this error happen all the time? or just occasionally ?
i
All the time
If the access token is expired
r
can you DM me the email you used to sign up?
for our service
i
Yes, sure
r
So i don;'t think there is any issue on your side. It's probably our dev insatance - we reduced the number of connections in the connection pool size for the db connection for dev env yest which might be causing this issue
Pleas give us sometime to fix this.
i
Ok, thanks very much for it!
r
hey @iruizmar can you please try this again?
i
Hey! Sorry for the super late response, I was afk. It did work 🙂 Thanks for whatever you did to fix it!
And the fast support, by the way. That's Supertokens' superpower.
4 Views