diff --git a/flash/troubleshooting.mdx b/flash/troubleshooting.mdx index ea3bac4f..bb7261f5 100644 --- a/flash/troubleshooting.mdx +++ b/flash/troubleshooting.mdx @@ -118,6 +118,23 @@ Get a key: https://docs.runpod.io/get-started/api-keys source ~/.bashrc ``` +### Corrupted credentials file + +**Error:** +``` +Error: ~/.runpod/config.toml is corrupted and cannot be parsed. +Run 'flash login' to re-authenticate, or delete the file and retry. +``` + +**Cause:** The credentials file at `~/.runpod/config.toml` contains invalid TOML and cannot be read. This can also appear as "No API key found" even after a successful `flash login`. + +**Solution:** Delete the credentials file and re-authenticate: + +```bash +rm ~/.runpod/config.toml +flash login +``` + ### Invalid route configuration **Error:**