# Recover from incomplete or refused queries

Source: https://usecns.dev/axon-topic-recover-from-incomplete-or-refused-queries/

[Start here](https://usecns.dev/manual-axon/)
[CLI commands](https://usecns.dev/commands-axon/)
[Configuration & integration](https://usecns.dev/axon-topics/)

| Symptom | Next action |
| --- | --- |
| Configuration refused | Check key spelling and YAML structure; `axon.yaml` takes precedence over legacy configuration. |
| Database cannot open | Confirm corpus, `--db` and `AXON_DB_PATH`; explicitly index if automatic creation is unavailable. |
| Few dependency results | Check boundary detection and scan exclusions; inspect `modules.partialLanguages`, then run `index --full`. |
| Symbol ambiguous / not found | Search first, then use the returned exact node ID. Trace exits 1 for either case. |
| Remote anchor refusal | Select a remote provider, configure endpoint/model, and check model discovery and service availability. |
| Unexpected network selection | Use `--embed-provider local`; inspect endpoint environment variables without printing credentials. |
| Empty / incomplete reach | Inspect trust, extraction degradation, confidence, truncation and dispatch boundaries; increase budgets only after checking them. |
| Successful JSON query did not resolve | Inspect payload status, especially `deps-impact`; process success is not semantic completeness. |

General runtime errors print `error:` and exit 1; Clap usage errors conventionally exit 2. Several JSON-only commands deliberately have no `--json` option. Do not add it mechanically to every example.