multica-ai/multica · error
wecom: installation not found
Error message
wecom: installation not found
What it means
Error "wecom: installation not found" thrown in multica-ai/multica.
Source
Thrown at server/internal/integrations/wecom/installation.go:409
}
}
// Revoke flips status to 'revoked' — the row is preserved so audit trails
// remain queryable, and a subsequent Upsert flips it back to 'active'
// atomically. A revoked row is skipped by the router's installation resolver
// (Active=false → invalid_event drop with audit).
func (s *InstallationService) Revoke(ctx context.Context, id pgtype.UUID) error {
return s.store.Queries.SetChannelInstallationStatus(ctx, db.SetChannelInstallationStatusParams{
ID: id,
Status: string(InstallationRevoked),
})
}
// ErrInstallationNotFound is returned by GetInWorkspace when either no row
// exists at the given (id, workspace) or the row belongs to a different
// channel_type. It is distinct from a plain pgx.ErrNoRows so HTTP handlers
// can map it to 404 without importing pgx.
var ErrInstallationNotFound = errors.New("wecom: installation not found")
// ListByWorkspace returns every wecom installation for the given workspace
// in creation order. Used by the Settings and Agent-Integrations tabs to
// render "connected bots" lists; revoked rows are included so operators can
// see history (the UI filters on Status).
func (s *InstallationService) ListByWorkspace(ctx context.Context, workspaceID pgtype.UUID) ([]Installation, error) {
rows, err := s.store.Queries.ListChannelInstallationsByWorkspace(ctx, db.ListChannelInstallationsByWorkspaceParams{
WorkspaceID: workspaceID,
ChannelType: channelTypeWecom,
})
if err != nil {
return nil, err
}
out := make([]Installation, 0, len(rows))
for _, row := range rows {
inst, err := installationFromRow(row)
if err != nil {
return nil, fmt.Errorf("wecom: decode installation %s: %w", row.ID.String(), err)View on GitHub (pinned to 2c0912b6ec)
Solutions
- Reinstall the WeCom integration; the installation record was not found.
When it happens
Trigger: Thrown at server/internal/integrations/wecom/installation.go:409 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/a006094173c6164e.
Report an issue: GitHub.