Troubleshooting

Common CLI errors and how to fix them.

Authentication errors

ErrorFix
exit 3: unauthenticatedRun veirox login or set VEIROX_API_KEY.
token expiredRun veirox login --rotate to mint a fresh key.
keyring: secret not foundThe keyring entry was deleted. Re-run veirox login.

Project / resource not found

ErrorFix
exit 4: not foundVerify the UUID and that it belongs to the active project. Run veirox project list.
Wrong project resourcesSet VEIROX_PROJECT_ID or re-run veirox init.

Permission errors

exit 5: permission denied โ€” your API key lacks the required scope. Create a new key: veirox api-key create --name ci --scope tasks:write.

Network & TLS errors

ErrorFix
dial tcp: connection refusedCheck VEIROX_WORKSPACE points to the correct URL.
TLS certificate errorsUse https:// not http://. For self-signed certs, install the CA bundle.

Verbose logging

VEIROX_DEBUG=1 veirox task list 2>&1 | head -50

See also