Skip to content

[bug] An unconfigured connector renders a red error on every agent's Settings tab — Zoho WorkDrive has never been configured #353

Description

@serge-ivo

What every user sees, on every agent

Production, checked just now:

GET /v1/workdrive/status  →  { "connected": false, "configured": false }

configured is !!(ZOHO_CLIENT_ID && ZOHO_CLIENT_SECRET) (routes/workdrive.ts:79), and both are
commented out in workers/api/wrangler.toml:51,140. Zoho WorkDrive has never been configured on this
deployment.

The console renders that as an error, in red, on the Settings tab of every instance
(SettingsTab.tsx:927):

⚠ Zoho WorkDrive connection isn't configured on this deployment yet.

and then, immediately below (:1014-1032), a dead row:

Zoho WorkDrive · not connected

with no button — because the Connect button is gated on configured (:1021) while the row around it
is not.

Why this is worth a ticket

The red is the problem, not the row. Red is the console's colour for something went wrong that you
should deal with
. This is a deployment gap — no OAuth client exists — so there is no action the
subscriber can take, and no amount of clicking will change it. We are showing a user an operator's
unfinished work, styled as their error, on 26 instances, forever.

Google Drive is configured: true, so it escapes the red — but it renders the same dead
"not connected" row plus a folder-grant box on every agent, including ones with no file tools at all.
That half is #352's to fix properly.

The rule

A connector that cannot be connected should not be on the page. configured: false is
information for whoever runs the deployment, not for the person using it. If we want it visible at
all, it belongs in the admin portal next to the other deployment state.

Concretely, in SettingsTab.tsx:

  • Drop the three !configured red lines (:921, :924, :927).
  • Gate the whole Gmail / Drive / WorkDrive block on status?.configured, not just its button — so an
    unconfigured connector contributes nothing, rather than a labelled row that does nothing.

That is the five-line version and it should land on its own. #352 then deletes these blocks
entirely by deriving them from the agent's declared tools.

Note for whoever picks this up

The same configured flag is already modelled honestly elsewhere — the MCP connector_status tool
documents configured:false as "the deployment has no OAuth client for it — no amount of clicking
will connect it."
The console is the surface that didn't get the message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendFrontend / UI work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions