Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Call Mutation again on Error? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
27 replies
Kumail
Call Mutation again on Error?
Hey guys
, if my token is expired
, I need to refresh it and then call the API again
. Whats the best way to do this in react query
? I can
't find a way to
"re
-call
" the mutation on error
. Should I be doing this in axios interceptors
?
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Error on mutation `connection timeout error prisma.uRL.update()`
TTC
Theo's Typesafe Cult / questions
4y ago
500 error on api call RAILWAY
TTC
Theo's Typesafe Cult / questions
4y ago
Prisma object undefined on mutation
TTC
Theo's Typesafe Cult / questions
4y ago