Skip to content

Error codes ​

When Test fails or a chat bubble errors, tap View details and match the error code (or message keywords) on this page.

Details usually include:

  • Error code (English id, e.g. invalidApiKey)
  • Cause
  • Suggested fixes

Codes below match the names shown in the App error details.


Quick reference ​

Error codeUser-facing summaryFirst steps
missingApiKeyEnter an API key firstFill the key in Model link
invalidApiKeyKey invalid or expiredCheck full copy; regenerate in console
forbiddenAccess deniedPermissions; model enabled?
regionForbiddenRegion unavailableChange network / proxy / international site
networkNetwork connection failedNetwork, Base URL, firewall
timeoutRequest timed outNetwork; raise timeout for local models
modelNotFoundModel not foundVerify model ID
modelRetiredModel retiredPick a currently available model from the list
rateLimitToo many requestsWait and retry
freeTierQuotaFree-tier request quotaWait for Please retry in …; slow down or upgrade
insufficientQuotaQuota exhaustedTop up / change key
spendingCapExceededMonthly spend capRaise spend cap in console
providerReturnedErrorUpstream errorSwitch model / avoid same-vendor :free / OpenRouter BYOK
contextLengthExceededContext too longLower memory; set reply tokens to None; larger-context model
anthropicMaxTokensRequiredClaude missing max_tokensEnable “Reply tokens” in model settings
badRequestBad parametersCheck params and compatible API format
serverErrorServer errorRetry later
requestFailedRequest failedRead detail text
contentPolicySafety filterRegenerate / switch model / rewrite
emptyContentEmpty replyRetry; check reasoning-model fields
modelAtCapacityModel at capacityWait or switch model
productNotActivatedProduct not activatedEnable the model in the vendor console
visionUnsupportedImages not supportedUse a vision model or remove attachments
textOutputUnsupportedText chat not supportedPick a text chat model; do not use TTS/image-only IDs

Category details ​

missingApiKey ​

  • Symptom: Cannot request without a key.
  • Fix: Settings → Model link → fill API Key. Local Ollama etc. can use a placeholder if non-empty validation applies.

invalidApiKey ​

  • Symptom: 401-class, invalid key.
  • Fix: Copy with no spaces; match China / international site to the key; regenerate the key.

forbidden / regionForbidden ​

  • Symptom: 403, region limits.
  • Fix: Confirm model permissions; use a proxy or international Base URL.

network / timeout ​

  • Symptom: Cannot connect or no response for a long time.
  • Fix:
    • Check Base URL (on the phone do not use localhost — use the PC’s LAN IP).
    • Allow the port in the PC firewall; phone and PC on the same Wi‑Fi.
    • Weak network or slow local model: raise timeout, use a smaller model.

modelNotFound ​

  • Symptom: Wrong model ID.
  • Fix: After Test, re-pick from the list; local IDs must match ollama list / LM Studio display names.

modelRetired ​

  • Symptom: HTTP 404 with no longer available to new users / use a newer model (e.g. models/gemini-2.5-flash-lite).
  • Difference: The vendor retired it or closed it to new users — not a typo.
  • Fix: Refresh the list in Model link and pick a live Gemini (e. for example gemini-flash-latest). You do not need the Interactions API. Catalog: Gemini models.

rateLimit ​

  • Fix: Send less often; retry later; upgrade the plan.

freeTierQuota ​

  • Symptom: Gemini etc. return HTTP 429 + generate_content_free_tier_requests (often limit: 20) with Please retry in …s.
  • Difference: Free-tier RPM / daily request limits — not “no money” and not project monthly spend cap.
  • Fix: Wait the stated seconds; reduce send rate; check AI Studio usage; enable billing / paid tier for higher limits. Docs: Gemini rate limits.

insufficientQuota / spendingCapExceeded ​

  • Difference: Quota emptied vs project monthly spend cap (retrying later usually does not help the latter).
  • Fix: Top up; or raise spend cap in the console (e.g. Google AI Studio Spend page).

providerReturnedError ​

  • Symptom: OpenRouter etc. return HTTP 429: Provider returned error (common on :free models).
  • Fix: Retry later; switch to another vendor’s idle model; or OpenRouter BYOK.

contextLengthExceeded ​

  • Fix: Settings → Model settings → lower memory length; set “Reply tokens” to None (if applicable); use a larger-context model.

anthropicMaxTokensRequired ​

  • Fix: Claude requires max_tokens → enable “Reply tokens” in model settings; do not set None.

badRequest ​

  • Fix: Check temperature and other params; whether the third-party gateway truly speaks OpenAI/Anthropic format.

serverError / requestFailed / modelAtCapacity ​

  • Fix: Retry later; change endpoint or model; if it persists, contact the vendor with the detail text.

contentPolicy ​

  • Fix: Regenerate, rewrite, or switch to a looser model; some NSFW cards often trigger output filters.

emptyContent ​

  • Fix: Retry; some reasoning models only return reasoning → check full fields in details or switch model.

productNotActivated ​

  • Fix: Enable the product/model in the vendor console, then reuse the current key.

visionUnsupported ​

  • Fix: Use a vision-capable model; or do not send images / enable vision caption flow for text-only descriptions.

textOutputUnsupported ​

  • Symptom: HTTP 400 with response modalities and TEXT not supported (e.g. models/gemini-2.5-flash-preview-tts only accepts AUDIO).
  • Difference: You picked a TTS / image-only model for chat Test — not a wrong key or sampling params.
  • Fix: In Model link pick a text chat model (e.g. gemini-flash-latest). Do not pick IDs with tts or image. Configure voice/image under those features.

Local models ​

Cannot reach Ollama / LM Studio on your PC: see Troubleshoot.

App Test / chat errors (including codes): see Manual · Error codes.

Screenshot

Bubble error
1 · Bubble error
View details
2 · View details
Error details
3 · Code and cause
Try fixes
4 · Suggested fixes
Check this page
5 · Match this page