MGS9003: token store is too new
A file in the token store ($XDG_STATE_HOME/magus/tokens.d) records a schema
version higher than the running magus understands. A newer magus wrote it; this
older one refuses to read it rather than risk misreading a credential.
[MGS9003] auth: token /path/tokens.d/laptop.json is version 3, newer than this
magus supports (2); upgrade magus
see: .../MGS9003.md
Why
The store is versioned so its format can evolve. Reading a newer record with an older magus could drop a field that limits what the token may do. Magus fails closed instead.
Resolution
Upgrade magus to a version at least as new as the one that wrote the store. If you downgraded on purpose, remove the newer files and mint their replacements with this version. A file written by an OLDER magus is MGS9017 instead.
See also
- Tokens and grants
magus version: the running magus's version.