Troubleshoot AgentApp runs¶
Start with the least disruptive check and preserve safe identifiers as you go. Avoid changing the app, federation, account connection, and login all at once; one controlled change makes the cause easier to identify.
Collect the first evidence¶
For a CLI-started run, record the run ID and inspect its status and logs:
$ uvx --from flwr==1.35.0 flwr list --run-id <run-id> supergrid
$ uvx --from flwr==1.35.0 flwr log <run-id> supergrid --show
In the browser, keep the conversation open and note the visible federation, selected agent, selected connector names, and approximate failure time.
The supergrid connection is missing¶
Symptom: flwr login supergrid or flwr chat reports that the connection
does not exist.
Check ~/.flwr/config.toml:
[superlink.supergrid]
address = "supergrid.flower.ai"
Preserve other connections and settings. Add only the missing section, then run
flwr login supergrid again.
Authentication expired or was rejected¶
Symptom: the CLI fails before opening Flower Chat, or SuperGrid asks you to sign in again.
Complete
uvx --from flwr==1.35.0 flwr login supergridagain.Ensure the browser flow uses the same Flower account that has Agent access.
Retry one deterministic prompt in a new chat.
Caution
Do not copy authentication tokens from local files into a support message.
Agent isn’t listed¶
Symptom: typing @ shows no completion, or the browser agent selector is
empty.
Wait for the catalog request to finish and refresh once.
Confirm the federation shown in the browser or configured under
[superlink.supergrid].federation.Run
flwr federation list supergridto confirm membership.Try the default Flower Agent.
An agent being available in another federation does not make it available in the current catalog. Adding or removing federation Agents is still under development.
OAuth was rejected or did not finish¶
Symptom: the provider denies consent, the callback returns an error, or the settings page remains disconnected.
Read the provider message before retrying.
Confirm you selected the intended workspace and are allowed to authorize integrations.
Return to Settings > Connectors and retry once.
If the connection existed before, use Reconnect.
For Notion, ensure the intended pages are shared with the integration. For Slack or Attio, workspace policy may require an administrator. A rejected consent flow is not fixed by putting provider credentials in AgentApp code.
Connector timed out or failed¶
Symptom: connector activity remains active, returns a timeout, or the app
raises Connector '<name>' failed.
Keep the failed run ID and connector name.
Retry the smallest deterministic request once in a new run.
For an account connector, confirm the connection still shows Connected.
Reconnect only after a repeatable authorization or expiry error.
Design custom AgentApps to catch
RuntimeErroronly when they have a useful fallback.
Do not loop retries around a provider outage. Report the repeated result with timestamps.
No heartbeat received from task¶
This message means the runtime stopped receiving health signals from a task. It does not identify whether the original cause was app startup, model work, a connector, or infrastructure.
Inspect run status and logs for the activity immediately before the heartbeat message.
Wait for the run to reach a terminal state.
Retry once with the default AgentApp and no account connectors.
If that succeeds, add the original agent and connectors back one at a time.
If the run never reaches a terminal state, record the identifiers and escalate instead of repeatedly submitting duplicates.
Run was interrupted¶
In Flower Chat, Ctrl+C during a response requests a stop. Wait until the prompt is idle before submitting again. If the old run remains active, use:
$ uvx --from flwr==1.35.0 flwr stop <run-id> supergrid
Start a new conversation if the interrupted app left incomplete tool state that should not be reused.
Run appears stuck¶
Check whether the UI is still receiving response or tool activity.
Inspect status and logs from the CLI.
Allow an active model or browser task a reasonable completion window.
Stop the run once if it is no longer making progress.
Start one simplified run without optional connectors.
Custom AgentApp fails before responding¶
Run local validation first:
$ uv run flwr build
Common causes are:
an invalid
<module>:<attribute>AgentApp component;a run-config override for a key not declared in
pyproject.toml;an undeclared Python dependency;
an unsupported model or connector; or
missing or empty
agent.input.
Compare with Write your first AgentApp before adding more control flow.
Prepare a safe support report¶
Include:
Flower version;
UTC time and timezone of the failure;
run ID and, when visible, series ID;
federation ID;
selected app spec and connector names;
exact public error text; and
the smallest steps that reproduce it.
Do not include:
access or refresh tokens;
OAuth codes or callback URLs;
passwords, API keys, or provider credentials;
private Slack, Notion, GitHub, or Attio content; or
an entire local configuration file without redaction.
Use Flower Discuss or Flower Slack, or use the support channel provided for your Flower environment.