> For the complete documentation index, see [llms.txt](https://docs.lenses.io/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lenses.io/latest/vs-code-extension/troubleshooting.md).

# Troubleshooting

#### Extension doesn't load

1. Ensure VS Code is version 1.96.0 or higher
2. In VS Code, check the **Output** panel (**View** → **Output**) and select "Lenses.io" from the dropdown.
3. In the Command Palette (`Cmd+Shift+P`), run **Developer: Reload Window**.

#### Authentication fails

1. Verify your URL points to the correct Lenses instance. The extension adds the `/api` suffix automatically—use `http://localhost:9991` for Community Edition, not `…/api`.
2. **Community Edition:** default credentials are **admin / admin**. Choose "Community Edition defaults" in the sign-in picker or enter them manually.
3. Check your username and password for enterprise instances.
4. Ensure your Lenses instance is accessible from your network (VPN, firewall, Docker running).
5. **OAuth:** if browser sign-in fails, confirm OAuth is enabled on Lenses 6.2+, DCR is available or `lenses.oauthClientId` is set, and redirect URI `vscode://lensesio.lenses-vscode/sso/callback` is registered. See [OAuth 2.1 docs](https://docs.lenses.io/latest/user-guide/using/security/oauth-2.1).

#### Topics not loading

1. Check whether the environment has an agent connected. A green indicator confirms the connection.
2. Verify you have permissions to view topics
3. Try refreshing the node (right-click → Refresh)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lenses.io/latest/vs-code-extension/troubleshooting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
