docs: Add troubleshooting for corrupted credentials file#591
docs: Add troubleshooting for corrupted credentials file#591muhsinking merged 2 commits intomainfrom
Conversation
| source ~/.bashrc | ||
| ``` | ||
|
|
||
| ### Corrupted credentials file |
There was a problem hiding this comment.
Citation: PR #481 adds graceful handling for corrupted config.toml files in get_credentials() and set_credentials(). Previously, a corrupted file would crash at import time; now it's treated as no credentials found, showing the "No API key found" message.
View source
|
|
||
| **Error:** | ||
| ``` | ||
| Error: ~/.runpod/config.toml is corrupted and cannot be parsed. |
There was a problem hiding this comment.
Citation: Error message text from src/runpod_flash/cli/entrypoint.py in this PR. The entrypoint catches TOMLDecodeError at import time and displays this clean error message instead of a raw traceback.
View source
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.) |
Open this suggestion in Promptless to view citations and reasoning process
Adds a troubleshooting entry for corrupted credentials files. Documents the specific error message "~/.runpod/config.toml is corrupted and cannot be parsed" from Flash CLI, as well as the generic "No API key found" symptom. Provides the solution to delete the credentials file and re-authenticate with
flash login.Trigger Events
runpod/runpod-python PR #481: fix(config): handle corrupted config.toml in credential functions
Promptless Research (8 files, 1 GitHub PR)
.long_term_context/product_knowledge/product_overview.md.long_term_context/doc_workflow/client_instructions.mdsdks/python/overview.mdxrunpodctl/reference/runpodctl-config.mdxflash/cli/login.mdxflash/troubleshooting.mdxserverless/troubleshooting.mdx.long_term_context/style/client_style_guide.mdAgent Response
runpod/flash PR #282: fix(cli): catch corrupted credentials file at import time
Promptless Research (4 files, 1 GitHub PR)
.long_term_context/product_knowledge/product_overview.md.long_term_context/doc_workflow/client_instructions.mdflash/troubleshooting.mdx.long_term_context/style/client_style_guide.mdAgent Response
Tip: Send Promptless a meeting transcript in Slack to generate doc updates 📝