Got error {code: 89, message: “Invalid or expired token.” } after sending hundreds of tweets in a minute

rate-limits

#1

I got the error {code: 89, message: “Invalid or expired token.” } after sending hundreds of tweets with app auth. I can understand if the error was {code: 185, message: "RateLimitExceeded"} but the code was 89.
Also my account activity registration has been deleted at the same time.
I could still use twitter sign in after the issue, so it seems they made my access token invalid, not my consumer token.

Anyone having the same issue? Or any ideas to avoid this?