Errors / invalid_refresh_token
Invalid refresh token
The refresh token was unknown, already used, or belongs to a family that has been revoked.
What to do
Sign in again. Refresh tokens rotate: each one can be exchanged exactly once, and presenting a used token revokes the whole family on the assumption it was stolen. If this fires repeatedly in normal use, two copies of your client are racing to refresh the same token.
What it looks like
{
"error": {
"type": "authentication",
"code": "invalid_refresh_token",
"message": "…",
"doc_url": "https://docs.textmast.com/errors/invalid_refresh_token",
"request_id": "req_01j8xk2p7n4qc3m9v0wz5bt6ay"
}
}Quote the request_id if you get in touch. It is on every response, including this one, and it turns a support email into a single log query rather than an archaeology exercise.