AI Agent action fails with "Firebase AI Logic genai config not found"

Troubleshooting

I have an AI Agent (lifecontrolbuddy, provider: GOOGLE, model: gemini-3.5-flash) connected via Firebase AI Logic / Vertex AI in Firebase, wired into a button's Action Flow using the "AI Agent โ†’ Send Message" action. The Action Flow adds a user message, calls the AI Agent, waits, then adds the assistant's reply.

When sending a message from the app, I get this runtime error instead of a reply:

Error: Firebase AI Logic genai config not found. Learn more: https://firebase.google.com/docs/ai-logic/error-codes#error-genai-config-not-found

This happens both in browser Test Mode and on a real Android device (production build from Google Play internal testing).

What have you tried so far?

- Checked Firebase Console โ†’ AI Logic: both "Gemini Developer API" and "Agent Platform Gemini API" show as Enabled

- Regenerated config files in FlutterFlow (App Settings โ†’ Firebase โ†’ Regenerate Config Files), then rebuilt and redeployed the app

- Checked Google AI Studio billing โ€” balance is positive (not a billing/credit issue)

- Tested on both browser Test Mode and a real Android device โ€” same error on both

I'm not sure if there's an additional "publish"/"deploy" step needed for the AI Agent itself after enabling Firebase AI Logic, separate from just adding the action to a button's Action Flow. Any guidance on what else to check would be appreciated.

Did you check FlutterFlow's Documentation for this topic?
No
2
6 replies