You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/troubleshooting.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ sh install-kagi.sh
145
145
146
146
**Symptoms:**
147
147
```
148
-
Config error: missing credentials: set KAGI_API_KEY or KAGI_SESSION_TOKEN (env), or add [auth] api_key/session_token to .kagi.toml
148
+
configuration error: missing credentials: search was not sent. Set KAGI_API_KEY or KAGI_SESSION_TOKEN, or run `kagi auth set --api-key <key>` or `kagi auth set --session-token <token>`
|`command not found`| Not in PATH | Reload shell or add to PATH |
729
729
|`Permission denied`| Not executable |`chmod +x *kagi*`|
730
730
|`missing credentials`| No credential set | Set KAGI_SESSION_TOKEN, KAGI_API_KEY, or KAGI_API_TOKEN depending on the command |
731
-
|`kagi auth is interactive on TTYs`| Bare `kagi auth` was run in CI, a pipe, or another non-interactive environment | Use `kagi auth set`, `kagi auth status`, or `kagi auth check` instead |
731
+
|`` `kagi auth` needs an interactive terminal ``| Bare `kagi auth` was run in CI, a pipe, or another non-interactive environment | Use `kagi auth set`, `kagi auth status`, or `kagi auth check` instead |
Copy file name to clipboardExpand all lines: docs/reference/error-reference.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Error: Network error: request to https://kagi.com/api/v1/search timed out after
37
37
38
38
**Message:**
39
39
```
40
-
Config error: missing credentials: set KAGI_API_KEY or KAGI_SESSION_TOKEN (env), or add [auth] api_key/session_token to .kagi.toml
40
+
configuration error: missing credentials: search was not sent. Set KAGI_API_KEY or KAGI_SESSION_TOKEN, or run `kagi auth set --api-key <key>` or `kagi auth set --session-token <token>`
41
41
```
42
42
43
43
**Meaning:** No authentication token is configured.
@@ -61,7 +61,7 @@ kagi auth check
61
61
62
62
**Message:**
63
63
```
64
-
Config error: this command requires KAGI_SESSION_TOKEN (env or .kagi.toml [auth.session_token])
64
+
configuration error: this command requires KAGI_SESSION_TOKEN. Set it in the environment or run `kagiauth set --session-token <token>`
65
65
```
66
66
67
67
**Meaning:** Command needs a session token, but you may have only an API key or legacy API token configured.
Config error: this command requires KAGI_API_TOKEN (env or .kagi.toml [auth.api_token])
89
+
configuration error: this command requires KAGI_API_TOKEN. Set it in the environment or run `kagiauth set --api-token <token>`
90
90
```
91
91
92
92
**Meaning:** Command needs API token, but you may have only session token configured.
@@ -218,7 +218,7 @@ kagi translate "Bonjour tout le monde"
218
218
219
219
**Message:**
220
220
```
221
-
Config error: this search option requires KAGI_SESSION_TOKEN (env or .kagi.toml [auth.session_token])
221
+
configuration error: this search option requires KAGI_SESSION_TOKEN. Set it in the environment or run `kagiauth set --session-token <token>`
222
222
```
223
223
224
224
**Meaning:** You used a session-only search option like `--lens`, `--time`, `--order`, `--verbatim`, or personalization flags without a configured session token. `--region`, `--from-date`, and `--to-date` can use the V1 Search API when `KAGI_API_KEY` is configured.
Copy file name to clipboardExpand all lines: docs/reference/output-contract.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -433,7 +433,7 @@ Rust 1.86 added...
433
433
Errors are plain text on stderr. Typical examples:
434
434
435
435
```text
436
-
Config error: missing credentials: set KAGI_API_KEY or KAGI_SESSION_TOKEN (env), or add [auth] api_key/session_token to .kagi.toml
436
+
configuration error: missing credentials: search was not sent. Set KAGI_API_KEY or KAGI_SESSION_TOKEN, or run `kagi auth set --api-key <key>` or `kagi auth set --session-token <token>`
0 commit comments