Skip to main content
Version: 2.5

Troubleshooting

Start with:

tsm doctor

It checks the configuration, the connection, the login and the tenant of the selected context, and says which step fails.

ProblemCheck withWhat to do
A command from this guide is unknowntsm --versionUpdate the CLI: tsm cli upgrade
No context selectedtsm context listCreate a context and select it: tsm context use NAME --global
Wrong environment or tenanttsm context show --explainPass --context / --tenant explicitly
Not logged in, HTTP 401tsm auth statusLog in again for that context: tsm --context NAME auth login
Token is for a different tenanttsm context show --explainSelect the matching tenant, or log in for that tenant

All checks above only read. When asking for help, include tsm --version, the selected context and workspace, and the error output. Never attach API keys, passwords or tokens.

Problems with the experimental local runtime are covered in Local runtime troubleshooting.