> ## Documentation Index
> Fetch the complete documentation index at: https://plivo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> Common Plivo CLI errors and what to do about them.

| You see                                                                   | It means                                                 | Do this                                                                 |
| ------------------------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------------------------- |
| `AUTH_MISSING` (exit 2)                                                   | No credentials found                                     | `plivo login`, or export `PLIVO_AUTH_ID` and `PLIVO_AUTH_TOKEN`         |
| `AUTH_INVALID` / `AUTH_EXPIRED` (exit 2)                                  | Wrong or expired credentials                             | Re-run `plivo login`; check the environment variables aren't stale      |
| `AUTH_FORBIDDEN` on `plivo support`                                       | Env-var credentials have no per-user identity            | Use `plivo login` for this command                                      |
| `DESTRUCTIVE_REFUSED` (exit 5)                                            | A spend or delete command ran without `--yes`            | Add `--yes`, or `--dry-run` to preview                                  |
| `RATE_LIMITED` on `ask` / `diagnose`                                      | Per-account limit on assistant requests                  | Wait for the interval in the message                                    |
| `NETWORK_ERROR` (exit 3)                                                  | Could not reach Plivo                                    | Check connectivity or VPN; `--log-level debug` shows the request        |
| `ssh not found, needed for the localhost.run tunnel` on `streams forward` | The default tunnel shells out to `ssh`, which is missing | Install an ssh client, or use ngrok instead with `--tunnel ngrok`       |
| The tunnel never comes up on `streams forward`                            | localhost.run was unreachable or refused the connection  | Retry, or switch provider with `--tunnel ngrok` (needs ngrok on `PATH`) |
| `interactive mode (-i) can't be combined with -o json`                    | Input is piped, so JSON output was selected              | Add `-o table`                                                          |
| Table output looks truncated                                              | Tables show a curated subset of fields                   | Use `-o json` for the full API response                                 |

Still stuck? `plivo ask "<what you see>"` usually knows, or open an issue on the [Plivo CLI issue tracker](https://github.com/plivo/plivo-cli/issues).
