key_expired
The API key passed its expiry date and stopped working.
What it means
The API key passed its expiry date and stopped working.
How to fix it
Create a new key in Kenso under Settings > API keys and send it instead.
Where it comes from
401 key_expired is not tied to one endpoint. The errors guide says when the API answers it.
The error body carries this code in error.code. Branch on the code, not on message. See the errors guide.