Can we access your project?
Current Behavior
Cloud call error:sessionCreatorAssistant
TypeError: Instance of 'FirebaseException': type 'FirebaseException' is not a subtype of type 'JavaScriptObject'
Expected Behavior
The AI Agent action should successfully call the Anthropic API (Claude Haiku 4.5) and return the extracted JSON fields (formation, formateur, date_debut, date_fin, nombre_participants) to populate the form fields. Instead, the action fails silently with a FirebaseException type-cast error before any request reaches Anthropic (confirmed via Anthropic Console showing "Last used: Never").
Steps to Reproduce
- Create an AI Agent (Chat type, Provider: Anthropic, Model: Claude Haiku 4.5) with a System Message that returns structured JSON
- Add a button with an action chain: Show Snack Bar → AI Agent (call the agent) → Rebuild Page
- Run in Test mode (desktop or tablet)
- Fill in the input field and click the button
- Open browser DevTools Console
- Observe the error on click, and no fields get populated
Additional verification steps taken:
- Regenerated the Anthropic API key and updated it in the agent config — still fails identically
- Redeployed the agent after the key change (status: "Deployed")
- Checked Google Cloud Logs for the project's own Cloud Function (unrelated
sessionCreatorAssistant function) — 0 requests received, confirming the call never reaches my own backend
- Reproducible on both desktop browser and tablet browser
Reproducible from Blank
Bug Report Code (Required)
IT40ksmBw4t1ofVG7s7TbcF7/So5JjN7R4I30dVraCgoIYyuOpl/evWkQxNtTfW/TH9ce0SmmXMBp/+MhYSWKfJdYDSrfqpJ+ZBuVjz/cE+Xa5OBDKieR2pSQOVjJnK11sK42BFvOftvdXdk2WWmHOiUQgrcNYztIlFISq/LZO4=
Visual documentation
Environment
- FlutterFlow version: (see top of editor, or "Help" menu > "About")
- Platform: Web
- Browser name and version: Chrome (latest)
- Operating system and version affected: macOS
Additional Information
This is blocking a client-facing feature (AI-assisted session creation form) in production.
Can we access your project?
Current Behavior
Cloud call error:sessionCreatorAssistant
TypeError: Instance of 'FirebaseException': type 'FirebaseException' is not a subtype of type 'JavaScriptObject'
Expected Behavior
The AI Agent action should successfully call the Anthropic API (Claude Haiku 4.5) and return the extracted JSON fields (formation, formateur, date_debut, date_fin, nombre_participants) to populate the form fields. Instead, the action fails silently with a FirebaseException type-cast error before any request reaches Anthropic (confirmed via Anthropic Console showing "Last used: Never").
Steps to Reproduce
Additional verification steps taken:
sessionCreatorAssistantfunction) — 0 requests received, confirming the call never reaches my own backendReproducible from Blank
Bug Report Code (Required)
IT40ksmBw4t1ofVG7s7TbcF7/So5JjN7R4I30dVraCgoIYyuOpl/evWkQxNtTfW/TH9ce0SmmXMBp/+MhYSWKfJdYDSrfqpJ+ZBuVjz/cE+Xa5OBDKieR2pSQOVjJnK11sK42BFvOftvdXdk2WWmHOiUQgrcNYztIlFISq/LZO4=
Visual documentation
Environment
Additional Information
This is blocking a client-facing feature (AI-assisted session creation form) in production.