# Integrations / OpenRouter: Troubleshooting

Source: https://www.kerlig.com/help/integrations/open-router/troubleshooting

##### Troubleshoot OpenRouter error messages and find the solution

**Limit exceeded**

Cause: Your account or API key has insufficient credits.

Solution: Add more [Credits](https://openrouter.ai/credits) and retry the request.

**API key error**

Cause: Your API key is invalid or disabled.

Solution: Check your API key in [API Keys](https://openrouter.ai/settings/keys), and enable it if it's disabled.

**Insufficient credits**

Cause: Your account or API key has insufficient credits.

Solution: Add more credits and retry the request.

**Billing not active**

Cause: Your OpenRouter account isn't active.

Solution: Check your account and your [credits](https://openrouter.ai/credits).

**Quota exceeded**

Cause: Your account has reached its limit.

Solution: Check your [credits](https://openrouter.ai/credits) and limits.

**Message flagged**

Cause: Your chosen model requires moderation and your input was flagged

Solution: Edit your message or choose different model.

**Server error**

Cause: The server had an error while processing your request.

Solution: Retry your request after a brief wait and contact OpenRouter if the issue persists. Check the [status page](https://status.openrouter.ai/).

**Timed out**

Cause: The request timed out.

Solution: Retry your request after a brief wait.

**Rate limit reached**

Cause: You are sending requests too quickly.

Solution: Pace your requests.

**Input too large**

Cause: The request is larger than your tokens per minute limit.

Solution: Shorten the request, or wait a minute and try again.

**Message too long**

Cause: The request is longer than the model's context window, the most text it can read at once.

Solution: Shorten the selected text, start a new chat, or switch to a model with a larger context window.

**Image too large**

Cause: An attached image is larger than OpenRouter accepts.

Solution: Attach a smaller image, or compress it first.

**Model error**

Cause: Your chosen model is down or OpenRouter received an invalid response from it.

Solution: Choose another model or retry your request after a brief wait.

**Model unavailable**

Cause: There is no available model provider in OpenRouter that meets your routing requirements.

Solution: Edit your routing settings.

**Connection error**

Cause: Kerlig couldn't reach OpenRouter.

Solution: Check your internet connection, VPN or proxy, then try again. Check the [status page](https://status.openrouter.ai/).

**Error**

Cause: Something went wrong that Kerlig doesn't recognize.

Solution: Read OpenRouter's own message, shown under the error. It usually names the cause. If it doesn't help, click **Copy details** and send it to [support@kerlig.com](mailto:support@kerlig.com).

---

[See OpenRouter Error codes](https://openrouter.ai/docs/errors)
