From ba6383bb3367c9c9efc52965a9cfb924586fe652 Mon Sep 17 00:00:00 2001 From: "promptless[bot]" <179508745+promptless[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 16:56:09 +0000 Subject: [PATCH] Add troubleshooting for corrupted credentials file --- flash/troubleshooting.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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:**