Fix AI connection problems
Restore a connection when a key, sign-in, local server, or model is not working.
Start with the error shown in Vinaa: it often includes the provider’s reason. For a cloud connection, also check that your Mac has internet access.
Find the connection that needs attention
- Choose Vinaa → Settings → AI Models.
- Open the affected connection.
- Read its status or error.
If an issue indicator appears at the bottom of the Folder Panel, click it to open Issues. Fix opens the affected connection’s settings.
Setup required means the connection needs attention on this Mac. It covers ChatGPT Plan, Claude Plan, and API-key or OpenRouter connections whose key is missing from this Mac’s Keychain. A connection synced from another Mac does not bring all local setup with it.
Its models are dimmed in the model picker; choosing one opens AI Models settings. For a missing key, open the connection, click Edit…, paste the key into API Key and click Save. Missing keys do not create an Issues entry. Plan connections can show their name followed by needs setup on this Mac in Issues; click Fix to open the connection.
Recognize common chat errors
| Message | What to do |
|---|---|
| The provider rejected the credentials (401). Check the connection in Settings. | Replace the key or restore the connection’s sign-in. |
| The provider account is out of credits (402). Add credits and try again. | Check the provider account’s credit balance. |
| Your OpenRouter credits are used up (402). Add credits at openrouter.ai/settings/credits. | Add credits in your OpenRouter account. A different 402 message may explain a temporary hold or a request that costs more than your balance. |
| The provider could not find this model (404). | Refresh the model list and choose an available model. |
| The conversation is too large for this model (413). | Start a shorter chat or choose a model with a larger context window. If the message includes the provider’s reason, follow that explanation; 413 can also concern a request-size limit. |
| The provider’s rate limit was reached (429). Try again shortly. | Wait before retrying. If the message mentions quota or includes a provider explanation, check the account’s limits and feature access. |
| You appear to be offline. Check your connection and try again. | Reconnect your Mac to the internet, then retry. |
Replace an invalid API key
An API key is a secret credential for your provider account.
- Open the connection’s Edit… sheet.
- Replace API Key with a complete, valid key from the matching provider account.
- Click Save.
Check your provider’s credits, billing, model permissions, and usage limits if the key works but messages fail. For OpenRouter browser sign-in, use Sign In Again in Edit….
Restore ChatGPT Plan sign-in
If the status reports that you are not logged in or your session expired, open Terminal and run codex login. Complete OpenAI’s browser sign-in, then return to Vinaa.
For Folder access required, click Grant Access to ~/.codex on the connection page. A successful setup shows Authentication verified.
Restore Claude Plan sign-in
Claude Plan is Experimental. Follow the connection’s status:
| Status | What to do |
|---|---|
| Claude Code not installed | Use Copy Command and Open Terminal, or open Setup Guide, to install Claude Code. |
| Update required | Vinaa needs Claude Code 2.1.300 or later. Run claude update in Terminal, then recheck. |
| Not signed in | Run claude in Terminal, then enter /login. |
| Not signed in with a Claude plan | Sign in with your Claude subscription account. Use an Anthropic connection for API-key access. |
| Claude Code not found | Check the chosen program under Custom Setup. |
| Unavailable | Read the explanation beneath the status and address it before rechecking. |
After fixing the problem, click Check Again. Accept the displayed Anthropic terms on each Mac. See the official sign-in guide and installation and update guide.
If a chat says You’ve reached your Claude plan’s 5-hour limit., read the renewal time that follows and continue after the limit renews. Other plan limits may be named instead. Vinaa does not switch models automatically.
Check a local server
- Ollama: keep Ollama running and download a model first. This Mac normally uses
http://localhost:11434. Ollama Cloud requires a key. - LM Studio: start its server from Developer and load a model. The default Base URL in Vinaa is
http://localhost:1234. Supply API Token if authentication is enabled.
These setup errors identify the server to check:
- Could not connect to Ollama. Check that Ollama is running.
- Could not connect to LM Studio. Start the server from LM Studio’s Developer tab.
- Could not reach <host>. Check the base URL and that the server is running. for a custom OpenAI-compatible connection, with your host in place of
<host>.
Correct the address or credential through Edit…, then Save.
Check feature access and refresh models
A free API tier may allow chat while restricting tools or particular models. For example, Google Search availability varies by Gemini model and tier; check Google’s pricing table. Try disabling Web Search in the tools panel (⇧⌘T), or choose a supported model with ⌘L.
After fixing a connection, click its Refresh button. Sync on the main AI Models page refreshes across connections. Use Choose Models… to select additional models.
Remove a connection you no longer need
Click Delete Connection… at the bottom of its page. If settings still use its models, choose Migrate all to… to select a replacement, or Clear all, then Delete Connection. When no settings depend on it, confirm Delete instead.