Help
Authentication or access is failing
Resolve sign-in, API-key, project, and missing-scope failures without widening access unnecessarily.
Use the HTTP status or CLI error to separate credential, scope, project, and resource problems.
401: the credential was not accepted
- Confirm the key begins with
tm_and was copied without quotes or whitespace. - Confirm it has not expired or been revoked in Settings → Access.
- Send one supported authentication header, not several competing values.
- Confirm the client is pointed at
https://api.teml.io. - For CLI browser login, run
teml loginagain and thenteml whoami.
If a key was exposed, revoke it instead of testing it further.
403: the principal is authenticated but not allowed
Read the failed operation, then add only the exact required scope. MCP writes require mcp:write
and the relevant domain permission. Some organization configuration and destructive scopes can only
be granted by an owner or admin.
Do not fix a 403 by replacing a narrow automation key with a human administrator key.
404: verify project and tenant context
A resource outside the authenticated organization or project can appear missing. Confirm the
dashboard project, CLI project (teml projects use <slug>), and key project restriction. Do not try
to widen a project-scoped key with a project_id query parameter.
Dashboard sign-in loops
Retry in a normal browser window with cookies enabled for app.teml.io. If the workspace was just
provisioned, confirm the invited email matches the identity provider account. Capture the exact time
and visible error without including session cookies.