My API Keys keep getting expired after a week eventhough i set it to "Never" or "30 days"

Anybody having the same issue? Or im missing something here?

Hi, which version you’re currently using? Please try upgrading to the latest version. If the issue persists, could you provide some example tokens that were set to never expire but have actually expired?

I’m using v1.8.14. The API keys doesn’t have status but when i use it on third-party, it return INVALID_TOKEN in about a week


Have you used this API key to log into the system and then logged out, or called the sign-out API?

Please try again with the newly generated API key. If it expires again, send me the corresponding key via the forum message privately so I can investigate.

How do you use the API key to log into the system? I don’t know this

Can i message you?

Anyone there?

Sorry, we tried but couldn’t reproduce the issue. When the API key stops working, what exactly is the error you see? Is your NocoBase deployment single-node or a cluster setup?


Hi @shleyZ, here the error

Hello, I checked and the expiration date of the token you sent me is Thu, Sep 8, 3025, 20:17:34 GMT+0800. One possibility is that the token has been blacklisted. Please check the tokenBlacklist table.

Where do you typically use this token?

n8n automation

One possibility is that the token has been blacklisted. Please check the tokenBlacklist table.

Where do i find the tokenBlacklist table