TanStackT
TanStack17mo ago
6 replies
urgent-maroon

Error using ensureQueryData

ive been developing my app for long time using tanstack router and query, and im having problems in the part of handling authentication, my app works perfectly but when, the access token expired then the problem appears, i made my backend with rust and i made an endpoint to check the status of the cookies to see if the tokens are valid, so in the frontend im trying to handle this in the AuthContext, and then i checked the doc of tanstack to follow how do i face this problem but nothing, if anyone can help me because its a nightmare, and thanks.
Screenshot_2024-09-05_at_11.54.25_AM.png
Screenshot_2024-09-05_at_11.53.55_AM.png
Screenshot_2024-09-05_at_11.53.37_AM.png
Was this page helpful?