Skip to content

[Bug] Intelligence always returns "check intelligence settings" error despite valid API key (400 Bad Request) #1078

@Akv2021

Description

@Akv2021

Describe the bug
Cashew Intelligence fails on every prompt with a popup error: "Intelligence error - check intelligence settings and try again." The Gemini API dashboard confirms the requests are reaching Google but returning 400 Bad Request.

Setup

  • Created a fresh Gemini API key (no restrictions) and added it in Intelligence settings
  • Key validation ("Test") shows success
  • AI Model: "Default" followed by Gemini 2.5 Flash, 2.5 Flash Lite, and 3 Flash individually, same error on all
  • Category Names: enabled
  • All other Intelligence settings are default (default prompts, no custom rules, Account Names disabled, Recommend Category disabled, Review Before Adding enabled)

How to reproduce

  1. Enable Intelligence in Experimental Features
  2. Add a valid Gemini API key → Test succeeds
  3. On the home page, swipe up on the (+) button to open Intelligence prompt
  4. Enter: Purchase Snacks from The ABC store for Rs 300 today
  5. Error popup appears immediately

Observations

  • Gemini API usage dashboard shows 100% success rate for requests, but the API Errors section lists 400 Bad Request entries corresponding to each attempt
  • Reproduced on two different devices with the same result
  • Intelligence - Invalid API Key #939 (deprecated model) was the closest match but was resolved in 6.2.4+466 with the model selector, which does not fix this

Ask

  1. How can this be resolved? Is there a specific model or setting combination that works?
  2. Could the error surface be improved? The current generic "check intelligence settings" message gives no actionable information. Surfacing the actual API error response (e.g., the 400 reason) or adding debug/verbose logging would help users and bug reporters diagnose issues.

Details

  • Device: Android (reproduced on 2 devices)
  • App Version: 6.2.8+471 (beta)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions