Uipath troubleshoot
UiPath causal investigation across every product, runtime, and activity package. Use when the primary outcome is an explanation, diagnosis, or root cause for undesirable existing behavior: faults, hangs, regressions, slowdowns, access loss, unexpected state changes, wrong or empty results, silent no-ops, or raw errors. Diagnostic intent outranks surface ownership for runtime behavior; invoke even when the prompt names only a job, folder, queue item, connector, connection, activity, trace, flow, agent, or other resource and another UiPath skill supplies inspection commands. Correlates runtime, configuration, history, and source evidence to find the originating fault and fix. Also covers UiPath Assistant desktop-app failures from a diagnostic archive (combined.log, Robot.log). For operating resources without causal investigation→uipath-platform; for applying a known source fix→the artifact owner; for build-time/CLI faults of a local artifact (pack, build, validate, bindings)→the artifact's skill.
By- name:
- uipath-troubleshoot
- description:
- UiPath causal investigation across every product, runtime, and activity package. Use when the primary outcome is an explanation, diagnosis, or root cause for undesirable existing behavior: faults, hangs, regressions, slowdowns, access loss, unexpected state changes, wrong or empty results, silent no-ops, or raw errors. Diagnostic intent outranks surface ownership for runtime behavior; invoke even when the prompt names only a job, folder, queue item, connector, connection, activity, trace, flow, agent, or other resource and another UiPath skill supplies inspection commands. Correlates runtime, configuration, history, and source evidence to find the originating fault and fix. Also covers UiPath Assistant desktop-app failures from a diagnostic archive (combined.log, Robot.log). For operating resources without causal investigation→uipath-platform; for applying a known source fix→the artifact owner; for build-time/CLI faults of a local artifact (pack, build, validate, bindings)→the artifact's skill.
UiPath Troubleshooting Agent
Investigate directly in this context: anchor the entity, extract signals, route to a playbook by grepping the playbook corpus, walk its decision tree, verify, present. Spawn subagents only when an escalation trigger fires (§7).
1. Invariants
ALL phases. Never override.
- No fabrication. Data unavailable → say so. Never invent data or substitute unrelated data.
- Correlation. Every datum must match the reported process, entity, folder/tenant, and time window. Discard evidence that fails correlation. If gathered evidence turns out to describe a different entity than the user reported, say so and re-anchor — do not proceed on it.
- Guides before commands — no CLI discovery. Read
references/investigation_guide.md(generic — Data Correlation + Output Capture) at the START of every investigation, and a domain'sinvestigation_guide.mdas soon as you classify the domain (§2) — BEFORE that domain's first uip command; the guides document the anchor/locator commands. Every command must be copied in its exact documented form from one of: an investigation guide, a product overview's CLI section, or — once a playbook is matched — its## Investigation. No guessed names, subcommands, or flags, no--helpexploration, no raw REST/curl workarounds. Empty results from a documented command run in its documented form are evidence; guessed/undocumented commands are contract violations, and a "command returned empty / unavailable" verdict is inadmissible unless the command was issued in its documented form. - Raw-data rule. Capture every CLI response to
.local/investigations/raw/{command-name}.json, matching the tool to the payload: small/filtered result (--output-filterthe 2–3 fields you need) →| tee; heavy or unfilterable result (dense traces, full logs/stacks,errorDetails) →>redirect, then read back only the fields you need. Neverteean unfiltered response. Full pattern + filter-failure fallback: generic guide § Output Capture. Before fetching, checkraw/— reuse prior fetches of the same entity. Batch independent fetches of the same step in ONE shell invocation, each command capturing to its own file; a fetch whose input comes from a prior response stays sequential. Establish the investigation root before changing directories and keep every.localpath rooted there. Ifteeor redirection fails, fix the path and rerun the CLI command; never reconstruct, summarize, or truncate a response intoraw/by hand —raw/means verbatim tool output. - Retry caps. Max 2 retries per unique command (3 attempts). After 3 distinct command failures, stop and ask the user — something is fundamentally wrong (wrong folder, wrong entity, permissions).
- Empty ≠ absent. Empty/404 → first verify the correlation key and scope were correct (an empty result is more often a wrong-key error than a missing entity), then verify the container still exists before concluding. Deleted/inaccessible container = data gap, not proof of absence. When the id was extracted from a context/wrapper/parent field (a decoded context blob, a parent-job/linked-entity pointer) rather than being the entity the user reported, an empty/404 first means wrong key — fall back to the reported entity's OWN key for its domain-native lookups before concluding the entity is gone, cancelled, or deleted.
- Live ≠ historical. Current snapshots (machine status, licenses, connections) cannot prove what happened during incidents older than 24h — context only.
- Symptom ≠ cause. A matching error string confirms the playbook match, not the cause. The §6 checklist gates every conclusion.
- No inference from undocumented fields. Behavior not in a playbook or docsai result → flag as unverified, don't guess.
- Approval gate + no self-edit. Diagnosis is autonomous; applying a fix is not, and you NEVER edit the user's source artifacts yourself. A confirmed fix that changes a source artifact (
.xaml,.cs,project.json, a macro/VBA file): present the exact diff, obtain explicit approval viaAskUserQuestion, then delegate the apply to the artifact's owning skill (.xaml/.cs→uipath-rpa, which itself drives UIA selector recovery) via a subagent — you run noEdit/Writeand no write-back CLI yourself. A fix to cloud/tenant state with no local file (Orchestrator config, Integration Service connection, Data Fabric, LLM Gateway) is recommendation-only — print the exactuip …command or UI path; never delegate, never self-apply. Diagnostic commands stay autonomous: reads, and playbook-prescribed idempotent re-validations whose purpose is evidence (e.g. a same-valuesupdatere-probe). A request for steps or a script is a deliverable, not execution approval — author it, do not run it. On decline, non-answer, unavailableAskUserQuestion, no available delegate, or a delegation that fails: present the proposed fix as text and STOP — a missing/failed approval or a failed delegation is NEVER permission to edit the artifact yourself. - No ad-hoc code execution. Playbook-provided diagnostic snippets are recommendations for the user unless the playbook says to run them. Shell for file I/O and uip is fine.
Tools: uip CLI (json by default in non-interactive mode). Documentation search: uip docsai ask "<question>" --source docs (product docs) or --source technical_solution_articles (support KB — known bugs, workarounds).
State: .local/investigations/raw/ (full CLI responses — create at start) and .local/investigations/notes.md (running log: anchor, signals, playbook matches, branch decisions with rejecting data, checklist verdicts, escalation record). No other state files.
Progress: track phases with TaskCreate/TaskUpdate, subjects tailored to the user's problem.
2. Anchor & primary evidence
- Classify (system, entity) from the user's message. Cross-check against
references/summary.mddomains. - Branch on anchor presence:
- Anchored — user named a concrete locator (id/key, process/package/queue/folder name, instance/incident id, specific error code/message), or the working directory contains a recognisable UiPath project at top level (
project.json,agent.json,caseplan.json). Run the first locator command documented in the system'sinvestigation_guide.md; if the system has no guide, proceed with the user-supplied signals to §3–§4 — the matched playbook's## Investigationsupplies the commands. - No anchor — ask via
AskUserQuestion, offering plausible anchor candidates. Do NOT broad-scan, do NOT fetch a placeholder entity, do NOT enumerate folders/queues hoping to find the right one. A bounded locate pass only if the user explicitly authorizes a scan — then confirm the candidate with them.
- Anchored — user named a concrete locator (id/key, process/package/queue/folder name, instance/incident id, specific error code/message), or the working directory contains a recognisable UiPath project at top level (
- Entity-instance selection when a query yields multiple candidates (several faulted jobs, incidents): filter by the user-named or directory-implied anchor and take the most recent match; if candidates span multiple plausible anchors, ask — do not default; fall back to most-recent-overall only with user-authorized scan.
- Fetch the primary entity and its error surface per the domain's
investigation_guide.mdwhen the domain has one (always also readreferences/investigation_guide.mdfor generic Data Correlation and Output Capture rules). Gather only what routes: entity headline, error message, exception class, error code, activity/package namespace from error logs. Deeper data (full traces, healing data, secondary entities, pings) waits until a playbook's## Investigationasks for it.
3. Extract signals
From the raw responses, record in notes.md one line per observed fact: exception class (FQN + leaf), friendly message / resource key, error code, HTTP status, faulting activity + owning package namespace, entity states, cross-product entity keys, package versions. Field locations per signal kind: see the cheatsheet in references/investigation_guide.md § Signal-Extraction Cheatsheet.
Unwrap wrappers at extraction time. System.AggregateException and "One or more errors occurred" are async wrappers — the inner exception is the routable signal. Extract inner exception class, message, and error code before routing. Same for --->-chained inner exceptions in stacks.
Localized error text. Host-side messages (.NET framework, Office/COM) localize with the robot's system language; playbooks store canonical English. Route on language-invariant signals first — exception class/FQN, error codes, resource keys, HTTP status, API state enum values (these never localize). If a message fragment is non-English, grep the playbooks with its canonical English wording (translate before grepping) and record the original text plus locale in notes.md.
4. Route
Grep the playbook corpus for each extracted signal — fixed-string, filenames only (grep -rlF "<signal>" references/ --include="*.md"): leaf exception class, error code, message fragments, resource keys. Signals are verbatim — a shorter fragment beats a guessed-case variant. Prefer hits under */playbooks/; never read directories wholesale — open only the hits' ## Context sections to check fit.
- One dominant playbook — most distinct signal hits; ties break by reading each hit's
## Contextand keeping the one whose preconditions fit the evidence; honor a playbook's explicit redirects to sibling playbooks. → Load ONLY that playbook + its domain'sinvestigation_guide.md(if the domain has one). Go to §5. - Cross-domain signal — evidence carries a key/ID/exception belonging to another product (e.g., an Excel fault wrapping an Integration Service connection error, an Orchestrator job spawned by a Maestro instance). → Follow the chain one hop: fetch the linked entity's error surface, extract its signals, re-grep. The upstream playbook drives the resolution; the downstream domain contributes a propagation fix (
references/presenting.md). Deeper than one hop → escalate. - Fault signal but no grep hit — map the faulting activity/exception namespace to its owning domain (
references/summary.md) and check that domain'ssummary.mdfor a family playbook covering the activity. One dominant family playbook → proceed to §5 with it. Still nothing → escalate. - No match, or an escalation trigger (§7) fires → load
references/escalation.md. For silent failures (no fault signal anywhere: job Successful but wrong output, hang, stuck state), enter via the no-signature routing table inreferences/summary.md.
5. Walk the playbook
- Read the playbook's
## Contextfully; confirm its signature actually fits the evidence (a contradicted core precondition = wrong playbook → back to §4 with that match excluded, recorded in notes.md). - Execute its
## Investigationsteps in decision-tree order; stop at the first matching branch. Record in notes.md the datum that rejects each rejected branch. - Ordering rules: most-specific branch first; run elimination checks, not just confirmation (fetch what would DISPROVE the branch); never conclude on a propagation/persistence/state-transition pattern while an upstream "why did that state occur" is unanswered — trace one hop upstream first.
- Source-required playbooks (evidence lives only in workflow source, e.g.
VerifyOptions, selectors,project.jsonpins): CHECK THE WORKING DIRECTORY TOP LEVEL FIRST — one listing; if it contains the project (project.json+ the workflow named in the activity stack), use it without asking. A playbook-named file not at its standalone path may sit in the other layout — resolve both (solution wrapper at the working-directory root / one level up from the named project dir) per generic guide § Locating Project Source & Resource Files before treating it as missing; absence from one layout is not absence. Only if neither layout resolves, ask for the project path viaAskUserQuestion— one question naming the files needed. This precedence overrides any playbook wording that says to ask first. Extract the verbatim attribute values the playbook lists; do not paraphrase. - For large result sets, summarize at write-time — group by type, count patterns, extract samples. Never slice raw responses with arbitrary limits.
6. Verification checklist — mandatory before presenting
Evidence is decisive. The conclusion is the cause the correlated evidence singles out — follow it. A plausible-but-unsupported alternative (a source-reading theory, a prior, the cause that is "common in production") NEVER overrides a documented cause the evidence supports; strongest correlated evidence wins over narrative plausibility. When the evidence does NOT single out one cause, do not pick — take the insufficient-evidence path below.
Write the answers in notes.md; do not skip items, do not present without them:
Cause named: quote ONE item verbatim from the playbook's "What can cause it" list — not a category, not a vague generalization.
Evidence pinned: cite ≥1 datum (raw file + field) that singles out this cause from each sibling cause in the same list. Symptom-level data fitting several causes is not enough.
Runtime evidence: for runtime failures, ≥1 cited datum from runtime/platform data (logs, job records, instance state, incidents) that passes correlation. Design-time evidence alone (source files, manifests) proves a defect exists, not that it caused this failure. A design-time-only root cause is BLOCKED while any documented runtime command for the entity remains untried — a "runtime unavailable/empty" verdict is valid only after the documented log/incident command was run in its canonical form (e.g.
or jobs logs <key> --output json,maestro <type> instance incidents <id>) and returned empty. Every runtime query empty while the user reports active failures = CONTRADICTION — wrong scope; re-verify or ask, never conclude. If the contradiction persists and the user cannot be asked, present the contradiction itself as the finding (runtime evidence unreachable — root cause unconfirmed) — never re-attribute the failure to a design-time observation.Resolution aligned: the fix is the playbook's
## Resolutionbranch keyed to that exact cause.Causal precedence: list every event the conclusion treats as given and answer "why did that occur?" — each answered by evidence, explained by the named cause, or explicitly out of scope. An upstream event may be ruled out of scope ONLY if no documented command (a matched playbook's
## Investigationor an investigation guide) can retrieve the record that explains it; if such a command exists, running it is mandatory before concluding. A persistence/state-transition story (cancelled, stopped, orphaned, disconnected, timed-out) presupposes an upstream condition and is never the root cause while the record explaining it is reachable and unqueried; unexplained upstream → not root cause.Fix scope: every proposed fix traces to the confirmed cause. A property or code path the failing run never evaluated cannot be asserted as a defect from source reading alone — and a defect claim that rests on how the platform parses or evaluates source syntax (expression bindings, escaping, argument direction) is unverified until confirmed against a playbook or documentation. Surface such suspicions as clearly-labeled unverified observations OUTSIDE the fix list — labeling one a "separate observation" while still listing it as a fix or offering to apply it violates this rule. The same gate applies to solutions: a fix must not presuppose infrastructure or mechanisms absent from the evidence (e.g., do not prescribe wiring an input to an Orchestrator asset unless an asset appears in the evidence) — prescribe the minimal evidence-supported fix. A fix option may name a real-world/production pattern in prose or context, but must NOT prescribe adding an activity, component, connection, asset, or endpoint that is absent from the workflow/evidence — not even as a labeled alternative or fix step. The presented fix MUST match this item's own scope verdict: if the fix touches only property X with no other activities implicated, it cannot introduce a new activity.
Carve-out — unmanaged integration advisory. When the evidence shows the automation authenticating to a third-party system itself (a key or bearer token in a request header, a credential read straight into an HTTP call), you MAY add one labeled Architectural advisory: the call bypasses Integration Service, and an IS connection, or a connector built with
uip is connectors builder, would make it rotatable and re-pointable per environment. It is never a fix, never in the fix list, never offered for application, and changes neither the root cause nor the scope verdict. Never infer the direct call from a symptom. If the direct call is the confirmed cause, it is an ordinary fix instead.
The checklist gates the output. Before presenting, re-read your six answers and confirm the final Root Cause and every Fix step are consistent with ALL of them — the cause is quoted verbatim from the playbook's "What can cause it" list (item 1), and no fix exceeds the item-6 scope. A conclusion or fix that contradicts any item is NOT presentable; resolve the contradiction first (re-fetch, re-scope, or downgrade to unconfirmed).
Any check fails → ONE targeted re-fetch for the missing datum. Still failing → insufficient evidence: do NOT pick a cause. Name the surviving candidate causes and, for each, the discriminating signal that would separate them, then:
- Fetch the discriminator with a documented command if one exists (the playbook's
## Investigationusually names it) → re-evaluate. - Ask the user when the discriminator needs data you cannot fetch: present the candidate causes and, for each, the signal that would confirm it, and call
AskUserQuestionto supply or confirm that signal — then continue the investigation from their answer. Do not guess in their place. - Diagnostic-recommendation terminal (only when the user cannot be asked): if the playbook provides a discriminating diagnostic (e.g., a byte-compare snippet), present at reduced confidence with that diagnostic as the primary deliverable — never silently pick a branch.
- Otherwise, or if a §7 trigger fires → escalate.
7. Escalation triggers
Load references/escalation.md when ANY of:
- No playbook grep match — silent failure, hang, wrong results, nothing greppable.
- ≥2 co-equal matches with distinct, independent signatures (different activities/error codes, neither upstream of the other).
- Cross-domain chain deeper than one hop, or the one-hop follow contradicts the original match.
- Decision tree exhausted — every branch rejected, or a discriminator stays inconclusive after its named evidence is gathered.
- Checklist fails after the re-fetch and no diagnostic-recommendation terminal applies.
- Evidence or new user data contradicts the matched playbook's core precondition.
Escalation = 2–4 parallel read-only probe subagents (one per candidate playbook + one "origin is upstream/elsewhere") + your adjudication + a conditional fresh-eyes verifier. Protocol, prompt templates, and spawn budget: references/escalation.md. No subagent-spawning tool in this harness → same protocol, probes executed serially in this context (references/escalation.md § Serial fallback).
8. Present
Load references/presenting.md and follow it: fixes assembled for the root-cause domain and every propagation domain, every step source-cited, entity display names from raw data, the investigation summary table, and interactive resolutions (Healing Agent apply-flow) executed under the §1 approval gate.
9. New data from the user
New data mid-investigation (error messages, job IDs, logs) → re-run §2–§4 on it. If the new signals contradict the current match, that is trigger 6. Never patch new data into a concluded narrative.
10. Completion
After presenting and finishing any interactive actions: offer follow-up help and offer to delete or preserve .local/investigations/. If no root cause was found, offer via AskUserQuestion: provide more data (re-anchor) or open a UiPath support ticket with the evidence gathered.
Open this reference as its own page
Escalation — Competitive Hypotheses
Load this file only when a SKILL.md escalation trigger fires. The fast path handles one dominant playbook match; escalation handles ambiguity: no match, co-equal matches, deep cross-domain chains, exhausted decision trees, or contradicted matches.
1. Enumerate candidates
Draft 2–4 candidate hypotheses in .local/investigations/notes.md:
- One candidate per candidate playbook. Candidates come from playbook grep matches, the no-signature routing table in
references/summary.md(for silent failures), and cross-domain signals. Never draft a candidate from a playbook already eliminated by contradicting evidence — record eliminations in notes.md with the disproving datum. - Always add one "originating fault is upstream/elsewhere" candidate — the possibility that every matched playbook describes a consequence and the true origin is a domain or entity not yet fetched. This candidate's probe follows the strongest cross-domain signal (wrapped inner exception, child job key, connection ID, parent instance).
- Fault-signal-first ordering. If any explicit fault signal exists (exception stack, error code, faulted state, incident), the candidate explaining what CAUSED that fault ranks first. Persistence, propagation, cleanup, or recovery-gap candidates rank after it.
- Each candidate records: description, source playbook path, supporting signals (a candidate with zero supporting signals is speculation — do not draft it),
to_confirmevidence, andto_eliminateevidence. One candidate = one playbook at signature level; do NOT split a playbook's "What can cause it" list into separate candidates — those are branches its decision tree resolves.
2. Probe in parallel
Spawn one read-only probe subagent per candidate (2–4, concurrently, in one message). Probes gather evidence; they never conclude for you, never present, never ask the user.
Probe prompt template — fill every {slot}:
Gather evidence for ONE troubleshooting hypothesis. Read-only: you fetch data and report; you do not conclude the investigation, modify files, or ask the user anything.
Hypothesis: {description}
Playbook: {absolute path} — read its ## Context and ## Investigation sections first.
Confirm items: {to_confirm list}
Eliminate items: {to_eliminate list — you MUST attempt every one; elimination evidence is first-class}
Rules:
1. Run ONLY uip commands documented in the playbook's ## Investigation section or the product overview's CLI section ({overview path}). No --help discovery, no guessed flags, no REST/curl workarounds.
2. Redirect every CLI response: `uip ... --output json > .local/investigations/raw/h{n}-{command-name}.json`. Read back only needed fields. Before fetching, check .local/investigations/raw/ — reuse existing fetches of the same entity. (Probes deliberately use `>` uniformly — narrower than Invariant 4's conditional `tee` — to keep probe context minimal.)
3. Every datum must match the reported entity, folder/tenant, and time window. Empty ≠ absent — verify the container exists. Live state ≠ historical state for incidents older than 24h.
4. Max 2 retries per command; after 3 distinct command failures, stop and report the failures.
5. Data unavailable → report the gap. Never invent or substitute.
Return (structured): per confirm/eliminate item — supported / contradicted / no data, with the raw file path and the specific field values; open gaps; any signal pointing at a DIFFERENT domain or entity (report it — do not chase more than one hop).
Probes may run concurrently because each writes to its own raw/h{n}-* namespace and nothing else.
Serial fallback — no subagent tool
Harness has no subagent-spawning tool → execute each probe yourself, sequentially, in this context. Same protocol, same budget; only the execution changes:
- Take candidates in §1 rank order. Per candidate, execute the probe-prompt rules verbatim (read-only, documented commands only,
raw/h{n}-*namespace, retry caps). - Close each probe before opening the next: write its structured return block (per confirm/eliminate item — supported / contradicted / no data, raw file + field; open gaps; cross-domain signals) into notes.md under
## Probe h{n}. Adjudication reads ONLY these blocks — not your memory of the fetches. - A probe surfacing a different-domain signal still stops at one hop — record it for adjudication; do not chase it mid-probe.
- Do not adjudicate early. A dominant-looking first probe does not skip the remaining candidates — elimination evidence from later probes is what separates siblings.
- Single-candidate collapse: when only one viable candidate exists (the upstream/elsewhere candidate has no concrete signal to chase), the probe round collapses to targeted fetches for that candidate's confirm/eliminate items. The structure still applies: per-item verdicts in notes.md, then the verifier.
Then adjudicate per §3 unchanged.
3. Adjudicate
You (not the probes) decide, in notes.md:
- Eliminate first. A candidate with any contradicted
to_eliminateitem is out — record the disproving datum. - Upstream precedence. A propagation/persistence/state-transition candidate cannot win while an upstream "why did the presupposed condition occur" candidate is untested or supported. If the upstream probe surfaced a new domain signal, follow it: re-grep the playbooks, and if it matches a new playbook, run that playbook's decision tree (fast-path §5) before concluding.
- Runtime-evidence gate. For runtime failures, the winning candidate needs ≥1 runtime datum (logs, job records, instance state, incidents) that passes correlation. Design-time evidence alone proves a defect exists, not that it caused this failure. All runtime queries empty while the user reports active failures = contradiction — wrong scope; re-verify scope or ask the user, do not conclude.
- Apply the SKILL.md verification checklist to the winner.
No candidate survives → present findings and ruled-out candidates per presenting.md ("no root cause found" terminal). Do not loop generating new candidates more than once — a second full round requires new evidence or new user input.
4. Fresh-eyes verifier (conditional)
Spawn ONE read-only verifier subagent before presenting when ANY of:
- The conclusion's confidence is medium or low
- The winning branch is the playbook's default/fallback branch (the tree's "none of the above")
- Co-equal candidates were adjudicated (trigger 2 fired)
Verifier prompt template:
Verify a troubleshooting conclusion with fresh eyes. Read-only: no CLI, no file edits. Read .local/investigations/notes.md, the raw files it references, and the playbook at {path}.
Conclusion under test: {cause statement + chosen resolution branch}
Check:
1. Specific cause named — the conclusion names ONE item from the playbook's "What can cause it" list (## Context), verbatim or tight paraphrase — not a category, not a vague generalization.
2. Evidence pinned — the cited raw data contains a datum that singles out THIS cause from its siblings in the same list. Symptom-level data that fits multiple causes is not enough.
3. Resolution alignment — the chosen fix is the ## Resolution branch keyed to that exact cause.
4. Causal precedence — list every event the conclusion treats as given and ask "why did that occur?". A persistence/state-transition narrative presupposes an upstream condition ("state X didn't transition" presupposes "X was entered for a reason worth investigating"). Any unexplained upstream event that notes.md does not address → fail this check.
Return: verdict `verified` or `shallow`; per failed check: whether the gap is FACTUAL (missing datum — a targeted re-fetch could fix it; name the exact datum) or TEXTUAL (imprecise cause naming / wrong branch label — re-fetching cannot fix it); one line per gap.
Route on the verdict:
verified→ present.shallowwith factual gaps → ONE targeted re-fetch of the named datum (yourself or a single probe), then re-check. Still failing → treat as textual.shallowwith textual gaps → present at reduced confidence with the gap named. Cause label and remediation path are separable: an imprecise cause name does NOT invalidate the matched playbook's## Resolutionprocedure — an interactive resolution (e.g., apply recovered selector) still runs; never switch to another playbook's resolution just because it names the cause better. Only a resolution-alignment gap (check 3) changes the fix branch.
No subagent tool → run the verifier's four checks yourself: re-read notes.md and every raw file the conclusion cites, answer each check in writing in notes.md under ## Self-verify, then route on the verdict as above. Independence is lost — compensate by presenting at one confidence level lower than the adjudication assigned unless every check passes with a cited datum.
Boundaries
- Probes and the verifier never talk to the user; every user question is asked by you, directly, after they return.
- Total spawn budget per investigation: one probe round (2–4 probes) + optionally one verifier + at most one factual re-fetch round. Beyond that, present what is known with gaps named. The budget counts probes, not subagents — serial-fallback probes consume it identically.
Open this reference as its own page
Generic Investigation Guide
Always apply these rules. If a product-specific investigation_guide.md exists, apply it in addition to these.
Data Correlation
Before using any fetched data, verify it matches the user's reported problem:
- Timestamp — data falls within the time window the user described (or is recent enough to be relevant if no time was specified)
- Entity identity — the entity in the data (job, queue item, process, asset, etc.) is the one the user asked about, not a different one with a similar name
- Environment — data comes from the correct tenant, folder, or environment the user is working in
- Causal relevance — the data is about the problem itself, not about a side effect or unrelated event that happened around the same time
If the data doesn't match: discard it. Do NOT use unrelated data as a proxy. Report the mismatch and ask for clarification.
Output Capture
Every uip data-gathering command follows two patterns — lean context AND an audit trail:
Filter at the source with
--output-filter— pull only the fields you need. Do NOT fetch the full response and slice it ([:3000]etc.); that silently drops information.- A filtered
listalways carries an explicit--limit. The filter runs client-side over only the rows that call fetched, so on any command whose--limithas a default (mostlistcommands, anduip or jobs logs) the CLI refuses--output-filterwithout one:ValidationError, exit 3, "--output-filter requires an explicit --limit". Passing--limitis also harmless where the option has no default, so pass it every time you filter a command that has a--limitoption. A command with no--limitoption (mostgetcommands,traces spans get,is connections list) takes none; adding one fails withunknown option '--limit'. To search the whole set, use the command's maximum (uip orlists accept at most--limit 1000, anduip or queue-items listat most 100; for other tools, a value out of range is refused with the accepted range in the message, so retry with that maximum). Then read the envelope'sPagination.HasMore: while it istrue, repeat with--offsetraised by the limit. An empty filteredDataproves nothing while more pages remain.
- A filtered
Capture to
raw/, matching the tool to the payload size:- Small / filtered result →
| tee .local/investigations/raw/<command>.json: saves the file AND echoes the (already-small) result for immediate use the same turn. - Heavy or unfilterable result (dense traces, full logs/stacks,
errorDetails, or the fallback below) →> .local/investigations/raw/<command>.json, then read back only the fields/lines you need. Do NOTteea full unfiltered response — it loads the whole body into context.
Run
mkdir -p .local/investigations/rawonce before the first fetch — neitherteenor>creates the directory and will otherwise drop the file silently.- Small / filtered result →
Filter-failure fallback. If --output-filter returns empty, an error, or an uninterpretable shape (usually a field name that drifted from the current CLI schema), retry the SAME command ONCE without --output-filter to see the actual shape. Capture that unfiltered retry with > (not tee) and read back only the fields you need; note the stale filter in your evidence summary. Do NOT silently swallow filter errors.
Anti-patterns: tee-ing a full unfiltered response (dumps the whole body into context — use > + selective read-back); | head -c N or byte/character slicing (drops required fields); fetching the unfiltered full response when 2–3 fields suffice (bloats context); inventing JSONpath field names (use only documented filters; on failure apply the fallback above).
Signal-Extraction Cheatsheet
Where each signal kind lives (fetch per the domain's investigation_guide.md; exact commands are documented there and in playbook ## Investigation sections):
| Signal kind | Where to find it |
|---|---|
| exception (class/FQN) | Job record Info field; error-level job logs; trace span error attributes; Maestro incident body. Unwrap System.AggregateException / ---> chains — the INNER exception is the routable signal |
| message / message-key | Verbatim friendly message in job Info / logs; localization resource keys quoted in UIA exception details |
| error-code | Message text (DAP-*, #NNNN, AADSTS*, HRESULTs like 0x8004027D); Maestro incident code (e.g. 170002); job PendingReasons.ErrorCodes |
| http-status | Message text ("Bad Gateway", "429"); trace span attributes |
| state | Job State + PendingReasons; Maestro instance status + incident open/closed; connection status |
| faulting activity + package | [Name] prefix in error log message bodies; span names; exception FQN prefix maps to the owning package (see references/summary.md domain namespaces) |
| package versions | project.json dependencies (source-required); job record package version fields |
Locating Project Source & Resource Files
A UiPath project ships in one of two layouts, and a named source or resource file (workflow, code, manifest, or a connection/asset/queue/bucket resource) may sit in either. Resolve BOTH before concluding a file is absent — this applies to every product, not just the one that named the file:
- Standalone — resources inline under the project dir (e.g.
<project>/connection/<connector>/*.json). - Solution — the project sits under a subdir and resources are hoisted into a solution wrapper at the solution root: the working directory, which is the parent of the named project dir — NOT inside it. E.g. from the working directory
resources/solution_folder/connection/<connector>/*.json; likewiseresources/solution_folder/{package,process,asset,queue,bucket}/....
Search from the working-directory root, not only under a named project subdir. When the user points you at a project dir (e.g. ./MyProject/), the solution resources live beside it — one level up — at ./resources/solution_folder/.... So look both inside the named project (standalone layout) AND in the working-directory root / one level up from the project (solution layout).
When a playbook names a file at one layout's path and it is not there, check the other layout — including the solution root above the project dir — before treating it as missing. If neither resolves: data gap — ask the user for the correct path. Absence from one layout is NOT absence.
Interpreting Query Results
- Empty results or 404 — before concluding an entity doesn't exist, verify the container (folder, tenant, instance) is still accessible. If the container was deleted or returns 404, all scoped queries are unreliable. Widen the search (different folder, broader time window, different state filters) or flag as a data gap and ask the user. Never treat empty results from an inaccessible container as proof of absence.
- Live infrastructure data — machine connectivity, license counts, connection health, and robot availability reflect current state, not historical state. For incidents older than 24 hours, this data shows what's true NOW, not what was true when the incident happened. Use it as context only — machines could have been online 6 months ago and gone offline since. Never use current infrastructure snapshots as causal evidence for past incidents.
Testing Prerequisites
Gather and verify these before drawing conclusions on any hypothesis:
- Reproduce the scope — confirm you're looking at the same entity, environment, and time window the user reported
- Execution path — trace what actually happened step by step (don't infer from final status alone)
- Error message — read the full error, not just the type; details in the message often point to the root cause
- Configuration state — check relevant settings/configuration at the time of failure; don't assume defaults
- Recent changes — ask whether anything changed recently (deployments, config updates, infrastructure) that correlates with when the issue started
- Dependencies — check upstream and downstream systems; a failure in one layer often manifests as symptoms in another
Expected Outcome — Establish Before Investigating
Before starting any investigation, establish what the user expects from the troubleshooting — do they want to understand the root cause, get a fix, confirm a suspicion, or something else?
- Try to infer the expected outcome from the user's problem description and how they framed the request
- If you cannot infer, present the user with the options you identified (e.g., "Are you looking for the root cause, a quick fix, or help understanding why this happens intermittently?") and let them choose
- If you have no options, ask the user directly what outcome they need from this investigation
Do NOT begin the investigation until the expected outcome is clear. It determines what depth of investigation is appropriate and what a useful resolution looks like.
Tool Boundary — uip CLI Only
All platform interaction MUST go through uip CLI commands. Do NOT work around CLI limitations by:
- Calling Orchestrator REST APIs directly (e.g., via
curlor any HTTP client) - Reading auth tokens from
%APPDATA%/uipath-cli/.author any other credential store - Using undocumented or internal API endpoints
- Constructing OData URLs manually
If the uip CLI does not provide a command for the data you need, that data is unavailable. Report the gap to the user and continue the investigation with what you have. Do NOT attempt to bypass the CLI, and do NOT suggest or mention internal API endpoints, OData URLs, auth token locations, or any other workaround to the user — even as a "for your information" or "if you want to do it yourself" suggestion.
Scope Boundary — Internal Platform Issues
This troubleshooting tool operates from the client perspective. Do NOT attempt to investigate internal platform issues (implementation bugs, server-side defects, infrastructure internals). You have no visibility into them and testing hypotheses about them wastes the user's time.
- If evidence points to a known limitation or platform bug: present it to the user as a known issue, link to documentation if available, and suggest workarounds or contacting UiPath support
- If evidence rules out all client-side causes and the remaining explanation is an internal platform issue: stop testing and tell the user the problem appears to be on the platform side, recommend they open a support ticket with the evidence gathered so far
- Do NOT fabricate hypotheses about internal platform behavior you cannot observe or verify
- Do NOT ask the user to investigate server logs, database state, or infrastructure they don't control
Open this reference as its own page
Troubleshooting Knowledge Base Guide
This document describes how the troubleshooting knowledge base is structured, what each part does, and how to create new content.
Structure
references/
summary.md <- Domain descriptions, CLI entry points, no-signature routing.
investigation_guide.md <- Generic investigation rules (all products).
presenting.md <- Resolution formatting, fix assembly, approval gate.
escalation.md <- Competitive-hypothesis protocol (probes, verifier).
templates/ <- Templates for creating new playbooks.
products/{id}/ <- One folder per product.
overview.md <- (optional) Product overview and dependencies.
investigation_guide.md <- (optional) Product-specific investigation rules.
presentation.md <- (optional) Product-specific display rules.
summary.md <- (required) Playbook index with confidence levels.
playbooks/ <- (required) Individual playbook files.
activity-packages/{id}/ <- One folder per activity package (same structure).
Product / Activity Package Container
Each product or activity package has its own folder containing:
overview.md (optional)
A summary describing the system and what it does. What features it provides, what it depends on, what kind of issues users encounter with it.
investigation_guide.md (optional)
A specific investigation guide detailing what the agent must look out for when investigating issues for that particular product.
For example, in Orchestrator the agent must verify:
- The product it is investigating is the same as the process the client referred to
- The data gathered is from the correct folder
- The logs, traces, and jobs are related to the actual robot that the user referenced
Each product has different concerns. UI Automation needs to verify the correct activity and selector. Maestro needs to verify the correct BPMN process and task. This guide captures those product-specific verification rules.
presentation.md (optional)
Product-specific display rules for how to format entity names, IDs, and labels in user-facing output. Defines how to refer to the product's entities (e.g., connections by display name, jobs by process name, instances by BPMN process name). Read at presentation time (references/presenting.md § 1) for every domain in the causal chain.
summary.md (required)
The playbook index. Lists all playbooks for this product, organized by confidence level. Runtime routing greps playbook files directly; this index is the browse and fallback surface (family-playbook routing, escalation, silent failures). Every new playbook must be added here.
playbooks/ (required)
The actual playbook files. Each file is a standalone, self-contained playbook covering one issue or one known error pattern.
When an issue has multiple distinct sub-scenarios (e.g., "Orchestrator Down" can be IIS crash, startup failure, or redirect loop), create separate standalone playbooks for each sub-scenario: orchestrator-down-forcibly-closed.md, orchestrator-down-startup-failure.md, orchestrator-down-redirect-loop.md. Each playbook's ## Context covers its own causes and patterns. The summary lists all of them — triage matches the right ones, and hypotheses are tested in confidence order (high first).
Playbooks
Every playbook uses the same structure: ## Context, ## Investigation, ## Resolution. The difference between playbooks is how much you know about the issue when writing it.
| Confidence | What you know | ## Context |
## Investigation |
## Resolution |
Example |
|---|---|---|---|---|---|
| High | Exact error → exact cause | Match pattern + root cause | Quick verification (1-2 steps) | Concrete fix | "GetAsset" error → asset missing in folder |
| Medium | Specific error → known troubleshooting path | Causes, patterns, what to look for | Concrete troubleshooting steps | Fixes mapped to findings | SSL cert invalid → check cert, chain, trust store |
| Low | General symptoms → multiple possible causes | Causes, patterns, what to look for | General data gathering guidance (or absent) | Optional | Robot unresponsive → could be heartbeat, network, or machine issue |
How to decide what to write
- Do you know the exact cause from the error alone? Write a high-confidence playbook. One verification step, one fix.
- Do you have a repeatable troubleshooting path? Write a medium-confidence playbook. Step-by-step investigation that leads to the answer.
- Do you only know what to look for? Write a low-confidence playbook. Describe the symptoms, causes, and what data to gather. The agent reasons from there.
You can always start with low confidence and upgrade later as you learn more about the issue.
Standard Headers
All playbooks use the same three headers:
| Section | What goes here | Who reads it |
|---|---|---|
## Context |
What the issue is, what causes it, what to look for. Always present. | The investigator, to confirm the match fits the evidence and learn the cause list. |
## Investigation |
Steps to troubleshoot or verify. Can be absent for low-confidence playbooks. | The investigator (follows steps in decision-tree order if present, reasons freely if absent). Escalation probes inherit these as their only allowed commands. |
## Resolution |
Known fixes. Can be absent if the fix depends on what the investigation finds. | Presentation phase (references/presenting.md assembles fixes for the user). |
Template: templates/playbook-template.md
Greppable Signatures
Routing greps playbook files directly, so a playbook is reachable only if its ## Context quotes the failure's signals verbatim:
- Quote in "What this looks like" the exact strings the real failure produces — exception class (FQN), verbatim message fragments, localization resource keys, error codes, HTTP statuses. Never paraphrase; trim placeholder segments.
- When two playbooks share a signal (same exception class, same message), each body must state its discriminator and explicitly redirect to the sibling playbook for the other case ("NOT for X → other-playbook.md").
- A playbook with no crisp greppable signal (silent failure, hang, wrong result) is a last resort — a distinctive log line or state combination is still a signature. Such playbooks are reachable only via the no-signature routing table in
references/summary.mdand the domain'ssummary.md. confidence(frontmatter) is a cap on root-cause certainty, not a routing rank.
Cross-Product References
Playbooks may reference other product domains (e.g., an Orchestrator playbook mentioning "ProcessOrchestration" or "BPMN", a Maestro playbook referencing child Orchestrator jobs). Use explicit product names when describing cross-domain behavior — cross-domain signals (entity keys, exception namespaces) are what route the investigator across the domain boundary.
How the Investigator Uses This
- Route — greps the playbook corpus with extracted signals; loads only the matched playbook plus its domain's
investigation_guide.md. - Walk — confirms the match against
## Context, executes## Investigationin decision-tree order, verifies the cause against the "What can cause it" list before presenting. - Escalate — on ambiguity,
references/escalation.mddrafts one candidate per plausible playbook; probes gather evidence using only commands documented in the playbook or product overview. - Investigation guides (generic + product-specific) define how to verify data correlation before drawing conclusions. Applied regardless of playbook confidence.
Creating New Content
Template is in references/templates/playbook-template.md. Copy it, set the confidence field, quote the failure's verbatim signature strings in ## Context per Greppable Signatures above, fill in the sections, and add the entry to the product's summary.md (Confidence column must match the frontmatter).
Open this reference as its own page
Presenting the Resolution
Rules for the final user-facing resolution — formatting, entity naming, cross-domain fix completeness, evidence gating, and interactive fixes. Load this file when the verification checklist has passed (or a reduced-confidence / diagnostic-recommendation terminal applies) and you are ready to present.
Inputs
.local/investigations/notes.md— anchor, signals, matched playbook(s), branch decisions, checklist verdicts.local/investigations/raw/— authoritative field values; quote entity names and values from here- Matched playbook(s) —
## Resolutionsections uip docsai ask "<question>" --source docs|technical_solution_articles— for domains missing a playbook resolution
1. Load presentation rules
For each domain in the causal chain, read references/products/{domain}/presentation.md or references/activity-packages/{domain}/presentation.md if it exists. These define entity naming and field labels.
2. Assemble fixes across all domains
Classify each domain in the causal chain: root cause domain (failure originated) or propagation domain (failure surfaced or was relayed).
Root cause domain
- Matched playbook's
## Resolution— if present, use the branch keyed to the verified cause. - No
## Resolution— runuip docsai asktargeted at the domain's fix. Use the result if concrete and actionable. - Docsai returns nothing useful — write: "No documented fix found for the {domain} layer — check UiPath documentation or consult UiPath support."
Propagation domains
For each domain that relayed or surfaced the fault:
- Matched playbook's
## Resolution— if present, use it. - Otherwise run
uip docsai askfor that domain's error-handling / resilience patterns. Frame the query around the domain's role, not the specific root cause (e.g., "error boundary events for service tasks in Maestro", "retry policies for faulted jobs in Orchestrator", "fallback configuration for Integration Service connectors"). - Concrete pattern found → include as a preventive fix for that layer, citing the docsai result.
- Nothing useful → write: "No documented error handling pattern found for the {domain} layer — check UiPath documentation for resilience options."
Do NOT write "No configuration change needed" for a propagation domain. Every domain in the causal chain gets either a fix or an explicit no-documented-pattern note.
Source gating
Every fix step cites its source (playbook section, docsai result, or raw data file).
- Preserve docsai URLs — full URL, not just a title.
- Step with no documented source → drop it, or mark
[Unverified]visibly. - Undocumented field/setting behavior → do NOT include. Write: "Check UiPath documentation for [{field/setting}] behavior before proceeding."
Discriminator carry
The final answer states the discriminating datum, not just the verdict:
- Name the datum that separates the confirmed cause from its sibling causes (the same evidence the verification checklist pinned) — "the recovered label matches the unchanged live button, so this is a mistyped selector, not a page change", not just "fix the selector".
- Upstream "why" unproven after the checklist AND after every reachable evidence source is exhausted — including workflow source present in the working directory (check its top level; if the project is there, read it, do not enumerate around it) → enumerate the candidate explanations ranked by evidence (most likely first, one line each, each tagged by what would confirm it) instead of only flagging the gap. Enumeration is never a substitute for reading available source.
3. Format
Root Cause: {description}
What went wrong: {one sentence}
Why: {root cause explanation — trace the full causal chain across all domains}
Evidence:
### {Domain} (Root Cause)
- {bullets — quote specific field values, error messages, IDs, timestamps, state, per this domain's presentation rules}
### {Domain} (Propagation)
- {bullets}
Immediate fix:
### {Domain} (Root Cause)
1. {What to do — concrete action with exact navigation path or command}
- Why: {cite evidence that makes this step necessary}
- Where: {exact file, UI path, setting, or command}
- Who: {RPA developer | admin | platform team | process owner, or the owner labels the domain's presentation.md defines}
- Source: {playbook path or docsai URL}
### {Domain} (Propagation)
1. {same structure}
Preventive fix:
1. {Domain} -- {What to change — concrete action}
- Why: {cite specific evidence showing the gap this fix addresses}
- Where: {exact file, UI path, setting}
- Who: {RPA developer | admin | platform team}
- Source: {playbook path or docsai URL}
2. {next domain, same structure}
Next action:
- Repair: {step numbers and Who:}
- Re-check (not run): `{command}`
- Later decision: {action}
Next action
When a root cause is confirmed, the resolution ends with, in this order:
- Repair, by owner — a change to the faulty artifact or setting: source, workflow (including migrating it to other activities or packages), config, binding, permission, connection. Name the Immediate fix steps by number, each with its
Who:; Immediate fix itself lists no Later decision step. A Repair step is advice for its owner; never run it unasked. Omit this line when every fix step is a Later decision; the Re-check then leads. - Re-check (not run) — one line naming one read-only command that shows the run's current state before the later decision (e.g.
uip or jobs get <JOB_KEY> --no-download --output json,uip maestro <type> instance incidents <INSTANCE_ID> --folder-key <FOLDER_KEY> --output json), entity ID filled in. A faulted run stays faulted after the repair: the read shows the state the later decision acts on, not that the repair worked. Copy it in its documented form from the investigation guide or the matched playbook. Name it; do NOT run it. No run to read, or no such command documented in the investigation guide or the matched playbook (e.g. Assistant sign-in, local dev-server failures) → omit this line; never compose one. - Later decision — any action that runs, publishes or deploys something (run, retry, resume, restart, instance migrate, upload, publish, deploy; first time or again), on its own line as the user's call after the re-check, unless the matched playbook's
## Resolutionprescribes that action alone as the fix for the confirmed cause (transient fault) — then it is the repair. On a Maestro instance, retry, resume and migrate are always a Later decision. A run, publish or deploy that follows another fix step is a Later decision: split it out of bundled playbook text. Exception: a restart whose only purpose is to load the setting the preceding fix step changed (service, app or dev-server restart) stays in the Repair. Nothing deferred → omit this line.
The closing message and any written diagnosis file carry every Next action line that applies. In the closing message, the Later decision stays its own line after the Re-check, never an item in a numbered next-steps list.
Reduced-confidence terminal (checklist gap survived the re-fetch): present the same structure, name the gap explicitly next to the cause statement, and lead the Immediate fix with the playbook's diagnostic recommendation (e.g., a byte-compare snippet) instead of a guessed branch. In Next action, the Repair is that diagnostic; give no Later decision. Recommending the discriminating diagnostic IS the deliverable when evidence cannot separate sibling causes — never silently pick one.
No root cause found (exempt from Next action): present what was investigated and ruled out (from notes.md), and recommend providing more data or opening a UiPath support ticket.
4. Apply presentation rules
Check every entity name against the presentation guides and raw data:
- Display names from raw data, not API property names or paraphrases
- IDs only where needed for commands
- UI labels, not API field names
5. Investigation summary table
| # | What was checked | Verdict | Key Evidence | Resolution |
|---|
One row per playbook/branch/candidate checked (from notes.md), including eliminated ones.
6. Interactive resolutions — the approval gate
If a matched playbook's ## Resolution is interactive — it prescribes printing concrete values and asking the user before applying a fix (the Healing Agent apply-fix flow via activity-packages/ui-automation/interpretations/healing-agent-data.md is the canonical example) — execute this protocol after presenting. This applies even when the cause label was refined or downgraded: cause label and remediation path are separable; the playbook's remediation procedure remains authoritative.
For each interactive action, in order:
Print the user-facing data as plain text — NOT inside AskUserQuestion options or previews. E.g. for a selector fix:
Failed selector: {failed_selector_xml from raw data} Recovered Partial selector: {recovered_partial_selector_xml — or "(not available)"} Recovered Fuzzy selector: {recovered_fuzzy_partial_selector_xml — or "(not available)"}Print required warnings verbatim. E.g. when
OrchestratorEnableHeal=false: "Healing Agent was running in recommendation-only mode (OrchestratorEnableHeal=false) — the recovered selector was inferred from the UI tree after the failure but was not validated at runtime. There is no guarantee it will work." Analogous wording forRecoverySuccessful=false.Ask via AskUserQuestion — the exact apply/dismiss question, plus a project-path follow-up if the path is not already known.
On accept: delegate the apply — never edit the artifact yourself. Spawn a subagent that loads the artifact's owning skill (
.xaml/.cs→uipath-rpa, which itself drives the package-bundled selector-recovery flow) and hand it the confirmed change: the workflow file, the activity matched byActivityRefId, the before→after value, andproject_dir. The delegate edits in place atproject_dir(the user's real working copy — do NOT spawn it into a fresh isolated worktree, which forks a throwaway copy the edit never reaches), applies any XML encoding, and validates (uip rpa validate --file-path "<WORKFLOW_FILE>" --output json) — you run none of those steps and no write-back CLI. After the delegate applies, the confirmation message must restate the confirmed root cause and the complete resolution — it must stand alone as the investigation's summary for a user returning to only that message; never let it read as if the applied edit were the primary or only fix.On decline, non-answer, unavailable
AskUserQuestion, no usable delegate, or a delegation that fails/errors: do not modify files. Present the proposed edit as plain text and stop — a missing/failed approval or a failed delegation is never permission to edit the artifact yourself. If a delegation errored or was spawned more than once, verify whether the edit already landed by reading the target file before doing anything else; never self-edit to "finish" or redo a delegate's work.
Pull every value from raw data. A required value missing (e.g., recovered_partial_selector_xml) → do NOT fabricate; surface the action as blocked, naming the missing evidence, and offer it as a follow-up.
Boundaries
- Do NOT fabricate fix steps from undocumented field behavior — cite sources or flag
[Unverified]. uip docsai askis the only CLI command this phase may add beyond what the playbook documents.- Diagnosis is autonomous; you never mutate user source files yourself — on approval the apply is delegated to the artifact's owning skill; without approval or a usable delegate it is recommendation-only. No exceptions.
Open this reference as its own page
Domain Catalog
Domain descriptions, namespaces, and CLI entry points. Runtime routing greps the playbook corpus directly (SKILL.md §4) — use this catalog to cross-check a (system, entity) classification, map exception namespaces to owning packages, browse a domain's playbook index during escalation, and route silent failures via the no-signature table below.
Orchestrator
Manages automation resources, robots, processes, and execution. Handles job scheduling, queue management, asset storage, triggers, storage buckets, and folder-based access control. Issues here involve failed jobs, stuck jobs, queue item failures, trigger problems, robot connectivity, permissions, and platform availability.
CLI: uip or --help
- products/orchestrator/overview.md — Product overview, features, and dependencies
- products/orchestrator/summary.md — All playbooks for Orchestrator issues
Studio
UiPath Studio (Desktop and Web) — the authoring IDE. This domain covers Studio-level platform failures that are not workflow-code or activity faults: license acquisition (License Provider = Orchestrator), profile entitlement (Studio vs StudioX), and in-IDE AI features (Autopilot for developers). Issues here involve Studio running unlicensed ("No license exist for this installation"), Autopilot greyed out / "disabled by your organization", and tenant-service enablement gaps. For .xaml / .cs authoring and activity faults use UI Automation / System Activities / Runtime Exceptions; for agent/product LLM routing use LLM Gateway.
CLI: uip login status, uip admin tenants get, uip admin tenants services enable, uip platform users licenses get
- products/studio/overview.md — Profiles, license acquisition, Autopilot, tenant-service dependencies, and CLI surface
- products/studio/summary.md — All playbooks for Studio issues
Runtime Exceptions
General .NET runtime exceptions originating from the user's own workflow code — not from activity packages or platform internals. Covers null references, null/invalid/out-of-range arguments, invalid operations (LINQ, nullable, enumeration), If condition compiler/type errors (design-time Studio validation, e.g. Compiler error(s) encountered processing expression / Option Strict On disallows implicit conversions), silent wrong-branch If faults, Assign type mismatches (design-time Studio validation, e.g. Cannot assign from type 'System.Object' to 'System.String'), LINQ CopyToDataTable "source contains no data rows", missing files/directories, out-of-bounds indexing, and missing dictionary keys in workflow logic, variable handling, and data processing.
- runtime-exceptions/overview.md — Scope boundary, investigation sources (local logs and Orchestrator jobs)
- runtime-exceptions/summary.md — All playbooks for runtime exception issues
Maestro
CLI: uip maestro --help
Agentic orchestration platform built on Orchestrator. BPMN-based process design with human-in-the-loop tasks, AI agent tasks, and service tasks. Processes are designed in Studio Web, deployed as solutions, and managed through Maestro Instance Management. Issues here involve deployment failures, debug-vs-deploy mismatches, expression/variable errors, file handling, boundary events, parallel markers, stuck instances, and service availability.
- products/maestro/overview.md — Product overview, dependencies, key concepts, and features
- products/maestro/summary.md — All playbooks for Maestro issues
Integration Service
Connector platform for third-party integrations (Salesforce, Outlook, SAP, Slack, etc.). Manages OAuth connections, exposes activities for automations and BPMN processes, and provides event-based triggers. Issues here involve connection failures, expired authentication, triggers not firing, and operation errors. Connection errors from Integration Service often surface through Maestro or Orchestrator as the calling product. Also covers the runtime exceptions thrown by the connector activities (ConnectorActivity, ConnectorTriggerActivity, ConnectorHttpActivity): GeneralException/RuntimeException with DAP-GE-*/DAP-RT-* codes, and UiPath.Ipc/UiPath.CoreIpc RemoteException — plus the CNS… error codes returned by the Connection Service HTTP API (connections/connectors/triggers CRUD, permissions, event callbacks, Solutions installs).
Namespaces: UiPath.IntegrationService.Activities, UiPath.IntegrationService.Activities.Runtime.Exceptions
CLI: uip is --help
- products/integration-service/overview.md — Product overview, connectors, connections, and CLI commands
- products/integration-service/dap-error-codes-reference.md — DAP runtime error-code catalog, telemetry customEvent fields, retry semantics, code → playbook map
- products/integration-service/cns-error-codes-reference.md — CNS (Connection Service API) error-code catalog: wire format, fault buckets, overloaded-code traps, retry semantics, code → playbook map
- products/integration-service/summary.md — All playbooks for Integration Service issues
API Workflows
Studio Web project type for real-time, system-to-system integration over APIs — JSON workflows (Serverless Workflow DSL) run by uip api-workflow run and published to Orchestrator as API processes (executions are Orchestrator jobs). No UI automation, no robot, no agent runtime. Issues here involve runtime execution faults (expression errors, <name> is not defined, undefined $context.outputs.<Activity>, loop/logic faults), connector-call 401/403 in cloud (401: wrong activity kind or stale connection binding; 403: broken/disabled or under-scoped Integration Service connection), designer-roundtrip corruption (runs locally, breaks after a Studio Web save), and pack/publish/deploy failures. Three more kinds of failure leave no trace in the workflow file, and neither validate nor a local run will show them: the workflow never ran at all (no job record — the trigger is off, points at an old release, its event connection is dead, or nothing called it), a platform limit cut the run off (a Script's 10-second budget, a loop stopping quietly at its limit, the 15-minute serverless job limit), and an outbound call blocked because the target allows the IP range of the other route. Connection faults surface through Integration Service; job/trigger mechanics through Orchestrator.
CLI: uip api-workflow validate, uip api-workflow run --no-auth, uip is connections ping, uip or jobs get/logs, uip or triggers list/history, uip traces spans get --job-key
- products/api-workflows/overview.md — Product overview, dependencies, evidence surfaces, and fault families
- products/api-workflows/summary.md — All playbooks for API Workflow issues
Agents
Low-code agents built with uip agent. Issues here involve LLM call failures, context grounding index misconfigurations, and input schema validation errors. Primary investigation surface: uip traces spans get <traceId> --output json — spans carry the full error text including error codes and field-level detail.
CLI: uip traces spans get, uip context-grounding, uip agent refresh, uip agent validate, uip agent debug (only with explicit user approval because it uploads and executes the agent)
- products/agents/summary.md — All playbooks for Agents issues
LLM Gateway
Service that routes agent / product LLM calls to a model — platform default or tenant-owned (BYO) provider key. Issues here involve BYO LLM product configurations failing at runtime, server-side validation probes failing on create / update, and routing being bypassed (call hits the platform default despite an active BYO record). LLM Gateway failures often surface through the consuming agent / product (agents, agenthub, jarvis, IXP) or as auth-shaped errors referencing the vendor directly (OpenAI, Azure OpenAI, Bedrock, Vertex, Anthropic). The gateway does not expose per-request invocation logs via CLI — diagnosis is current-state + trace-evidence only.
CLI: uip llm-configuration --help, uip traces spans get, uip gov aops-policy deployed-policy resolve
- products/llm-gateway/overview.md — Service model, dependencies, CLI surface, and what the CLI does NOT expose
- products/llm-gateway/summary.md — All playbooks for LLM Gateway / BYO LLM issues
Coded Apps
Custom TypeScript/React web front-ends (coded web apps) and Action Center form apps (coded action apps) that call UiPath APIs through the @uipath/uipath-typescript SDK, built and shipped with uip codedapp. A coded app runs in the user's browser, so failures surface as OAuth redirect errors (redirect_uri_mismatch, invalid_scope), failed HTTP calls (401/403/404), CORS blocks, or a broken deployed URL — not as a faulted job with a trace. Config lives in uipath.json (what the app requests); the External Application backing it (uip admin external-apps) governs what redirect URIs and scopes are allowed. There is no runtime job/trace/log CLI — diagnosis is current-state (uipath.json, uip admin external-apps get, .uipath/app.config.json, vite.config.ts) plus the error signature the user reports.
CLI: uip codedapp --help, uip admin external-apps get <client-id>
- products/coded-apps/overview.md — Runtime/auth model (PKCE public client), CLI surface, and evidence sources
- products/coded-apps/summary.md — All playbooks for Coded Apps issues
Assistant (Desktop)
The UiPath Assistant Windows desktop app (Electron host + native .NET Robot service) that end users run to sign in, connect to Orchestrator, and start processes. Diagnosis is from an exported diagnostic archive (ExportDiagnoseArchive folder), reading two log files: combined.log (Electron/main-process — IPC routes, UI state) and Robot.log (native Robot service — the actual sign-in/connect/package work, machine-local time with an offset). Issues here involve sign-in failures, Orchestrator connection failures, processes missing or not starting, and crashes. There is no uip CLI job/trace/log surface — evidence is the on-disk log files plus the reported symptom (like Coded Apps). Cross-references: Orchestrator (401/403, assignment, license), Identity/cloud (OAuth on /identity_//discovery_), NuGet feeds (NU1101). Exception namespaces: UiPath.Service.*, UiPath.RobotJS.*.
- products/assistant/overview.md — Two-log architecture, evidence model, dependencies, and flow attribution
- products/assistant/summary.md — All playbooks for UiPath Assistant desktop issues
UI Automation
Activities for interacting with desktop and web application UIs. Robots use selectors (XML descriptors) to find and interact with UI elements. Issues here involve selector failures, element not found exceptions, timeout issues, Healing Agent problems, and data validation errors during UI interactions.
Namespaces: UiPath.UIAutomationNext.Activities, UiPath.UIAutomation.Activities, UiPath.Core.Activities
- activity-packages/ui-automation/overview.md — Package overview, selector mechanics, exception types, and dependencies
- activity-packages/ui-automation/summary.md — All playbooks for UI Automation issues
Computer Vision (CV) Activities
Activities that target UI elements by visual analysis of a screenshot instead of selectors — for virtualized/Citrix/RDP, image-based, and remote desktops. Every CV activity runs inside a CV Screen Scope (CVScope) that screenshots the target window; a CV server (cloud or local) plus an OCR engine detects elements, the descriptor (target + anchors) is matched, and the action fires at the matched coordinates. Issues here involve element-not-found / descriptor-match failures, invalid descriptors, table cell-targeting errors, scroll-search failures, CV server auth/throttling/network errors, scope setup failures, post-find action failures, and silent/false results (ContinueOnError / InRegion suppression).
Namespaces: UiPath.CV.Activities (exceptions: UiPath.CV)
- activity-packages/cv-activities/overview.md — Package overview, CV targeting mechanics, exception types, and common failure patterns
- activity-packages/cv-activities/summary.md — All playbooks for Computer Vision Activities issues
OCR Activities
Low-level OCR engine activities from UiPath.OCR.Activities — UiPath Screen OCR and UiPath Document OCR (cloud or local server), plus CJK / Extended Languages OCR via Document Understanding. These are the foundational text-recognition engines consumed by Document Understanding Digitize and Computer Vision screen scopes. Issues here involve missing local-server / CoreIPC packages, incompatible companion-package versions, invalid API key / endpoint / CJK configuration, service timeouts and invalid responses, invalid or missing image input, unsupported rotation, wrong scrape usage, and empty/silent results. For the DU document pipeline (Digitize / classify / extract) see Document Understanding; for CV screen-targeting see Computer Vision.
Namespaces: UiPath.OCR.Activities (exceptions: OCRException with OCRResultCode)
- activity-packages/ocr-activities/overview.md — Package overview, engines, local-server modes, and failure families
- activity-packages/ocr-activities/summary.md — All playbooks for OCR Activities issues
System Activities
Core workflow activities from UiPath.System.Activities. Two families: Orchestrator-resource activities (asset retrieval, credential lookup, queue operations, storage buckets — asset-not-found, permission denied, folder scope mismatches, external vault failures, package version bugs); and local runtime activities (compression Compress/Extract Files → CompressionException; modern StudioX file/folder Copy/Move/Rename/Delete → FileSystemException; Download File from URL / Wait for Download). For the classic Rename/Move File, Kill Process, Invoke Code/Workflow File, and Add Queue Item activities, see Classic Activities.
Namespaces: UiPath.Core.Activities, UiPath.System.Activities
- activity-packages/system-activities/overview.md — Package overview, activity types, and common failure patterns
- activity-packages/system-activities/summary.md — All playbooks for System Activities issues
Classic Activities
The classic (non-"modern"/non-"Next") activities under UiPath.Core.Activities. Two groups: classic UI Automation — Click, Type Into, Send Hotkey, Open Browser, Close Tab, Open Application, Attach Browser/Window, Take Screenshot, Wait Image Vanish, Wait UI Element Appear (selector/image based, SelectorNotFoundException / ActivityTimeoutException / ElementOperationException / BrowserOperationException); and System/Core — Invoke Workflow File, Invoke Code, Add Queue Item, Rename File, Move File, Append Line, Log Message, Kill Process, Start Triggers, For Each Row (file/process/code/queue/workflow failures). Use this package when the faulted activity is one of the classic types above. For the modern UI "Next" activities (NClick, Use Application/Browser, Healing Agent) use UI Automation; for Get Asset/Get Credential/Get Robot Asset use System Activities.
Namespaces: UiPath.Core.Activities, UiPath.UIAutomation.Activities, UiPath.System.Activities
- activity-packages/classic-activities/overview.md — Package overview, classic activity groups, and failure families
- activity-packages/classic-activities/summary.md — All playbooks for classic activity issues
Google Workspace Activities
Activities for interacting with Google Workspace including Google Calendar, Google Drive, Google Sheets, Gmail, Google Docs, Google Tasks, and Google Forms. Issues here involve files not found, sheet name conflicts, multiple items name conflicts, emails not found, sheet cell limit exceeded, sheets invalid ranges, upload storage quota exceeded.
Namespaces: UiPath.GSuite.Activities
- activity-packages/gsuite-activities/overview.md — Package overview, activity types, and common failure patterns
- activity-packages/gsuite-activities/summary.md — All playbooks for Google Workspace Activities issues
Microsoft Office 365 Activities
Activities for interacting with Microsoft Office 365 through Graph API. Issues here involve multiple items name conflicts, drive items not found, mail folders not found, emails not matching the filters, already existing item names.
Namespaces: UiPath.MicrosoftOffice365.Activities
- activity-packages/o365-activities/overview.md — Package overview, activity types, and common failure patterns
- activity-packages/o365-activities/summary.md — All playbooks for Microsoft Office 365 Activities issues
Mail Activities (classic)
Activities from the classic mail packages that talk to a mail system directly from the Robot: Outlook desktop COM (UiPath.Mail.Outlook.Activities — Send Outlook Mail Message, Get Outlook Mail Messages, Move Outlook Mail Message, Reply To Outlook Mail Message driving a local OUTLOOK.EXE via COM interop under the Robot's Windows user) and protocol-level SMTP / IMAP / POP3 / Exchange. Distinct from the modern Graph/OAuth Microsoft Office 365 Activities and the Gmail activities in Google Workspace Activities. Issues here involve COM cast / library-not-registered failures (REGDB_E_CLASSNOTREG, TYPE_E_LIBNOTREGISTERED — Outlook missing/unregistered, bitness mismatch, orphaned OUTLOOK.EXE), timeouts and hangs (hidden security prompt, Work Offline mode, slow profile first-launch — fragile on unattended Robots with no interactive desktop to dismiss prompts), and uninitialized inputs (Object reference not set to an instance of an object from a null To/Subject/Body or attachment path).
Namespaces: UiPath.Mail.Outlook.Activities, UiPath.Mail.SMTP.Activities, UiPath.Mail.IMAP.Activities, UiPath.Mail.POP3.Activities, UiPath.Mail.EWS.Activities
- activity-packages/mail-activities/overview.md — Package overview, Outlook COM execution model, and common failure patterns
- activity-packages/mail-activities/summary.md — All playbooks for classic Mail Activities issues
Excel Activities
Desktop Excel activities from UiPath.Excel.Activities — read, write, delete, and manipulate .xlsx / .xls workbooks, run VBA macros (Invoke VBA, Execute Macro), and look up ranges on the host filesystem via Excel COM (Excel installed) or the OpenXML provider (Excel not required). Issues here involve workbooks locked by other processes, sheet names not found, range parsing failures, provider-specific parsing errors on heavily formatted or sensitivity-labeled files, Trust Center macro blocks, entry-method / parameter marshaling errors, COM-interop instability (0x80010100 RPC_E_SYS_CALL_FAILED and related HRESULTs), and Application Scope / Use Excel File container failures. For cloud Excel via Microsoft Graph, see Microsoft Office 365 Activities above.
Namespaces: UiPath.Excel.Activities
- activity-packages/excel-activities/overview.md — Package overview, providers, scopes, execution models, and common failure patterns
- activity-packages/excel-activities/summary.md — All playbooks for Excel Activities issues
Word Activities
Activities for automating Microsoft Word documents on Windows. Operations run inside a Use Word File (WordProcessScope) or classic Word Application Scope container and drive a real WINWORD.EXE through Office Interop (COM), requiring desktop Word on the execution host. Issues span package-wide COM / host failures common to all Word activities (type library / class not registered 0x8002801D / 0x80040154 / REGDB_E_CLASSNOTREG, bitness mismatch, Word busy/blocked 0x8001010A, WINWORD.EXE crashing mid-operation with RPC_E_WRONG_THREAD 0x8001010E); Word Application Scope failures (corrupted-file errors, indefinite hangs on background modal dialogs, "cannot create unknown type" load errors, document-path resolution); and Add Picture (WordAddImage)-specific failures (activity placed outside a Word scope, insertion target text/bookmark not found, invalid image path / unusable image input).
Namespaces: UiPath.Word.Activities
- activity-packages/word-activities/overview.md — Package overview, execution models, and common failure patterns
- activity-packages/word-activities/summary.md — All playbooks for Word Activities issues
Python Activities
Activities for invoking Python from a workflow. UiPath.Python.Activities does not run Python in-process — Python Scope launches a separate Python host process and marshals objects over an IPC pipe; Load Python Script / Run Python Script / Invoke Python Method / Get Python Object call into that host. Issues here involve Pipe is broken / Error invoking Python method (the out-of-process host died — a pip module missing from the scope's interpreter, an unhandled exception, a hard sys.exit, or stdout flooding), The specified Python path is not valid (Path points at python.exe instead of the install folder, or the WindowsApps\python Store alias), One or more errors occurred / engine-init failures (Target bitness, Version, or Library path mismatch, or a missing .NET Desktop Runtime), and scripts that run but read/write the wrong files (relative paths resolving against the robot's per-package WorkingFolder).
Namespaces: UiPath.Python.Activities
- activity-packages/python-activities/overview.md — Package overview, out-of-process execution model, and common failure patterns
- activity-packages/python-activities/summary.md — All playbooks for Python Activities issues
Database Activities
Activities for querying and modifying relational databases over ADO.NET (SQL Server, Oracle, MySQL, ODBC, OLE DB). A DatabaseConnection opened by Connect to Database / Start Transaction is consumed by Execute Query, Execute Non Query, Run Command, and the bulk/insert activities. Issues here involve null/out-of-scope connections, provider/driver mismatches after Windows-Legacy → Windows migration, SQL syntax / unsafe concatenation, query text in the connection-string field, command timeouts, 0xE0434352 CLR crashes, and using the wrong activity for the statement type.
Namespaces: UiPath.Database.Activities
- activity-packages/database-activities/overview.md — Package overview, connection model, key activities, and common failure patterns
- activity-packages/database-activities/summary.md — All playbooks for Database Activities issues
Web Activities
Activities for outbound HTTP calls and payload deserialization. HttpClient (legacy, RestSharp) and NetHttpRequest (modern, System.Net.Http) issue HTTP requests; DeserializeJson, DeserializeJsonArray, and DeserializeXml parse a string into a typed object / JArray / XDocument. Issues here involve HTTP request failures (System.Net.WebException — status / DNS / connection / SSL), request timeouts (System.TimeoutException), null request inputs (System.NullReferenceException), modern-activity faults wrapped in System.AggregateException, malformed JSON/XML payloads (Newtonsoft.Json.JsonReaderException / System.Xml.XmlException), JSON type mismatches (Newtonsoft.Json.JsonSerializationException), and null/empty payloads (System.ArgumentNullException). These activities propagate raw framework exceptions — the faulted activity class + exception class is the discriminator. A malformed/null deserialize fault is frequently a symptom of an upstream HTTP call.
Namespaces: UiPath.Web.Activities
- activity-packages/web-activities/overview.md — Package overview, activity families, and common failure patterns
- activity-packages/web-activities/summary.md — All playbooks for Web Activities issues
Jira Activities
Activities from the classic UiPath.Jira.Activities package for automating Atlassian Jira. Every operation runs inside a Jira Scope (JiraApplicationScope) that authenticates once against a Jira instance (the classic pack targets Jira Cloud and uses RestSharp under the hood); child activities — Get Issue, Search Issues, Create Issue, Add Comment — run REST calls on that session. Issues here involve Authentication information is invalid at scope open (Api Token bound as a plain String instead of SecureString, Username set to a Jira accountId instead of the account email, leftover Client Id/Client Secret conflicting with Authentication Type = Api Token, or basic password auth on an MFA/SSO-enforced org), Response was not recognized as JSON / HTTP 500 on a child activity (Server URL carrying an appended /secure/Dashboard.jspa or project path, or an on-premises Server / Data Center instance the Cloud-targeted pack does not support), and This activity is either missing or could not be loaded properly (a transitive RestSharp version conflict with another package — resolve the pin or migrate to the Integration Service Jira connector).
Namespaces: UiPath.Jira.Activities
- activity-packages/jira-activities/overview.md — Package overview, Jira Scope execution model and properties, and common failure patterns
- activity-packages/jira-activities/summary.md — All playbooks for Jira Activities issues
App Events (Workflow Events) Activities
Internal activities that connect a UiPath App (or a Studio Web app preview) to the robot running the App's workflows. They are [Internal] — a user never places them — so failures surface as a job invoked by an App faulting, with the activity name (HandleAppRequest, AppRequestTrigger, InitializeHubConnection) appearing in the job error / trace spans rather than the user's project. The App↔robot channel runs in one of two modes: RobotJS (legacy local pipe) or SignalR (modern hub). These activities propagate raw .NET framework exceptions (no package-specific wrapper), so the faulted activity class + exception class is the discriminator: HandleAppRequest NullReferenceException (a null deref inside the App-invoked workflow), AppRequestTrigger TimeoutException/IOException/InvalidOperationException (App↔robot channel/transport lost), and InitializeHubConnection AggregateException (SignalR hub bootstrap failed — unwrap the inner).
Namespaces: UiPath.WorkflowEvents.Activities
- activity-packages/workflowevents-activities/overview.md — Package overview, connection modes, activity types, and common failure patterns
- activity-packages/workflowevents-activities/summary.md — All playbooks for App Events (Workflow Events) Activities issues
CSV Activities
The CSV file activities — Read CSV, Write CSV, Append To CSV (namespace UiPath.Core.Activities, shipped in UiPath.System.Activities) — read/write delimited files to and from a DataTable against a local path, using the bundled CsvHelper library. Issues here involve CsvHelper version conflicts (Method not found: 'CsvHelper...' from a UiPath.System.Activities ↔ UiPath.Excel.Activities version split — both bundle CsvHelper), file-access failures (The process cannot access the file because it is being used by another process when the CSV is open in Excel; The filename, directory name, or volume label syntax is incorrect from an invalid or raw https:// cloud path — these activities are local-file only), and DataTable shape problems (uninitialized table, or a column count/header mismatch vs the existing file).
Namespaces: UiPath.Core.Activities
- activity-packages/csv-activities/overview.md — Package overview, execution model, and common failure patterns
- activity-packages/csv-activities/summary.md — All playbooks for CSV Activities issues
File Operations Activities
Modern System > File activities under the UiPath.Activities.System.FileOperations namespace (shipped in UiPath.System.Activities). Currently covers Download File from URL (DownloadFileFromUrl) — a native HTTP(S) download to the robot's local file system (it carries no browser session/cookies). Issues here involve This instance has already started one or more requests (the internal HTTP client reused across a For Each loop), HTTP 401/403 (authenticated/portal-gated URLs the native download can't reach, or a blocked User-Agent), the downloaded file left stuck as a .tmp (download/finalize race), and Don't know about such a host (DNS / firewall / SSL-inspection blocking the automated outbound connection).
Namespaces: UiPath.Activities.System.FileOperations
- activity-packages/file-operations/overview.md — Package overview, Download File from URL execution model, and common failure patterns
- activity-packages/file-operations/summary.md — All playbooks for File Operations issues
Slack Activities (Integration Service)
Activities for automating Slack through an Integration Service connection — Send Message, Get User by Email, and related BAF connector activities. Each activity resolves the Slack connection (OAuth token) and then calls the Slack Web API. Issues here split by phase: connection-resolution failures (System.AggregateException wrapping a ConnectionException — connection deleted / no longer valid / transient 503) and Slack API rejections (UiPath.BAF.Infrastructure.Exceptions.BusinessActivityExecutionException carrying a Slack error code such as invalid_arguments/missing channel, channel_not_found, not_in_channel, invalid_auth). For the legacy UiPath.Slack.Activities (SlackScope) package, this is a different code path.
Namespaces: UiPath.Slack.IntegrationService.Activities
- activity-packages/slack-activities/overview.md — Package overview, connection-vs-API phase model, and common failure patterns
- activity-packages/slack-activities/summary.md — All playbooks for Slack Integration Service Activities issues
Terminal Activities
Activities for automating terminal/mainframe emulators (IBM 3270/5250 via EHLLAPI, VT, and other providers). Work runs inside a Terminal Session (TerminalSession) scope that opens a connection (new connection string or reused existing connection), runs child screen-interaction activities, then closes it. Issues here are overwhelmingly connection-time: unreachable host / wrong port / provider, provider runtime not installed on the robot, connect/wait timeout, or a stale reused connection — surfacing as a TerminalConnectionException (System.Exception) with ... | ResultCode=<code> | ConnectionStatus=<status>, its async-wrapped System.AggregateException form, or a System.NullReferenceException that masks a failed open.
Namespaces: UiPath.Terminal.Activities
- activity-packages/terminal-activities/overview.md — Package overview, session connection model, and common failure patterns
- activity-packages/terminal-activities/summary.md — All playbooks for Terminal Activities issues
PDF Activities
Activities for reading and manipulating PDF files on the robot's local filesystem — Read PDF Text, Read PDF With OCR, Extract PDF Page Range, Extract Images/Attachments From PDF, Export PDF Page As Image, Merge PDF Files / Join PDFs, Create PDF From Images, Manage PDF Password. These are local file operations (no Orchestrator/network call except Read PDF With OCR, which calls an OCR engine). Issues here are almost always the input file (missing, not a PDF, encrypted, corrupt) or the arguments (page range, password fields, image list): activity-level validation throws System.ArgumentException/ArgumentNullException with a fixed resource string; reader-level failures surface as UiPath.PDF.PdfException (wrong/missing password, Invalid input stream) or UiPath.PDF.ImageToPdfException (image input).
Namespaces: UiPath.PDF.Activities (exceptions: UiPath.PDF)
- activity-packages/pdf-activities/overview.md — Package overview, validation-vs-reader exception shapes, and common failure patterns
- activity-packages/pdf-activities/summary.md — All playbooks for PDF Activities issues
SAP BAPI Activities
Activities for calling SAP BAPIs / RFC function modules directly over the SAP .NET Connector (RFC protocol, no SAP GUI) — SAP Application Scope, Invoke BAPI, Open/Close SAP Connection. Work opens an RFC connection from connection parameters, looks up the BAPI's interface, then invokes it. Issues here are connection/logon failures (Connection could not be created., Cannot create sap connection, connection info params are not set, Missing mandatory field: <field> for connection, Advanced Parameters has invalid parameter <param>..., System.TimeoutException), BAPI lookup/naming (Function: <name> could not be created, BAPI name is null or empty), and the activity's capability limit (Unsupported BAPI. Contains nested complex types.). Cannot be reproduced without a live SAP system.
Namespaces: UiPath.SAP.BAPI.Activities (exceptions: UiPath.SAP.BAPI.Utilities.SapActivityException, UiPath.SAP.BAPI.SapBapiExceptions.UnSupportedBapiException)
- activity-packages/sap-bapi-activities/overview.md — Package overview, connection-vs-invoke phases, exception types, and common failure patterns
- activity-packages/sap-bapi-activities/summary.md — All playbooks for SAP BAPI Activities issues
Intelligent OCR / Document Understanding (Classic) Activities
The classic Document Understanding framework from UiPath.IntelligentOCR.Activities — Digitize Document, Classify Document Scope, Data Extraction Scope, Present Validation Station, Export Extraction Results, and the Train scopes. The digitize → classify → extract → validate → export pipeline combines local taxonomy/extractor config with calls to a DU server/endpoint (authenticated with an API key/license) and Orchestrator storage. Issues here are license/endpoint rejections (DUApiException with HTTP status — license, page units, request size, wrong endpoint), tenant not enabled (Failed to fetch Document Understanding projects list..., Couldn't retrieve a tenant key.), missing storage bucket/taxonomy/folder, and human document rejection at Validation Station (DocumentRejectedByUserException). For modern DU / IXP, see the IXP surface. Generally not reproducible without a licensed DU endpoint + OCR + trained models.
Namespaces: UiPath.IntelligentOCR.Activities (exceptions: UiPath.SmartData.Utils.DocumentUnderstandingClient.DUApiException, UiPath.IntelligentOCR.Exceptions.DocumentRejectedByUserException)
- activity-packages/intelligent-ocr-activities/overview.md — Package overview, pipeline phases, exception types, and common failure patterns
- activity-packages/intelligent-ocr-activities/summary.md — All playbooks for Intelligent OCR / Document Understanding Activities issues
IPC Activities
Activities for inter-process communication between UiPath processes running at the same time on one host. Broadcast Message / Send Message publish a payload on a named channel; a Message Receiver Trigger in a parallel process listens on the same channel. The transport is a local named pipe — confined to the same robot, same Windows user, same session, same machine. Issues here involve System.TimeoutException (Timeout of <N> ms has passed and no channel was found to send the message to. — no live receiver on the channel before the timeout, a channel-name mismatch, or a too-low Timeout) and System.UnauthorizedAccessException (Access to the path is denied. — the pipe ACL rejects a peer in a different session / user / elevation level). The faulted activity + exception class is the discriminator (the System.* exception prefix alone does NOT route here). Not to be confused with the internal UiPath.Ipc / UiPath.CoreIpc transport behind Integration Service connectors (RemoteException, DAP-*) — that is under Integration Service.
Namespaces: UiPath.IPC.Activities
- activity-packages/ipc-activities/overview.md — Package overview, channel / named-pipe execution model, and common failure patterns
- activity-packages/ipc-activities/summary.md — All playbooks for IPC Activities issues
Playbooks
All playbooks use the same headers: ## Context, ## Investigation (optional), ## Resolution (optional). They vary by confidence level:
| Confidence | What you know | Investigation | Example |
|---|---|---|---|
| High | Exact error → exact cause | Quick verification | "GetAsset" error → asset missing |
| Medium | Specific error → known troubleshooting path | Concrete steps | SSL cert invalid → check cert, chain, trust |
| Low | General symptoms → multiple causes | General guidance or absent | Robot unresponsive → could be heartbeat, network, or machine issue |
Template and full guide: templates/playbook-template.md | knowledge-base-guide.md
No-signature routing
For problems with nothing greppable (no exception, no error code — silent failures, hangs, wrong results), map the symptom to a domain, then check that domain's summary.md for the matching silent playbook:
| Symptom | Domain | Entry |
|---|---|---|
| Job/run Successful but the action had no effect or output is wrong | The acting activity's package (ui-automation, classic, word, excel, gsuite, o365, database, system) | Activity-level trace logs — look for zero-count lines ("Replaced 0 occurrence"), Simulate/inert-verify configurations, provider quirks |
| Job stuck Pending | orchestrator | PendingReasons on the job record — its error codes ARE greppable signatures; re-grep after fetching |
| Job/instance stuck Running | orchestrator (plain job) / maestro (BPMN instance) | Child-job states + open incidents; a Maestro instance with an Open incident is blocked until the incident is resolved |
| Works in Debug, fails deployed | maestro | Debug-vs-deploy silent playbook |
| Published API workflow "didn't run" — no job record exists | api-workflows | Something failed to start it, rather than the workflow being broken: check the trigger and uip or triggers history, or the caller one step upstream |
| API workflow run stops with no error, or a loop returns short | api-workflows | A platform limit (Script 10 s budget; a loop stopping quietly at its limit, logging reached iteration limit; the 15-minute serverless limit) — validate cannot see any of them |
| API workflow call to a firewalled host times out, connection pings healthy | api-workflows | Wrong outbound IP range allowed — serverless robots and Integration Service leave by different routes |
| Duplicate task/element executions | maestro | Boundary-event silent playbook |
| Traces/evidence missing or disappearing | maestro / orchestrator retention | Silent playbooks; retention windows |
| Robot unresponsive, heartbeat gaps | orchestrator | Machine/session state via the orchestrator investigation guide |
| Hang mid-activity, no fault, no timeout | The activity's package | Package overview "common failure patterns" (e.g., Word background modal dialogs, Python stdout flooding) |
| Reads/writes the wrong files with no error | The activity's package | Relative-path resolution quirks (e.g., Python per-package WorkingFolder) |
| Slowness / degradation without errors | Owning product | Product overview + uip docsai ask |
Cross-domain rule: the symptom's reporting surface is not necessarily the owning domain — extract entity keys from the fetched records and follow them one hop before settling on a domain.
More in this playbook
Browser mate
Use when automating a real, logged-in Chrome WITHOUT disturbing the user's open tabs — e.g. authenticated sessions like ChatGPT, LinkedIn, or any site needing a persistent login. Launches or reuses a dedicated debug Chrome instance per named profile that coexists with the user's main browser; it never quits or kills any browser (unlike real-browser, which closes Chrome Beta's tabs). Trigger on "automate this site without closing my tabs", "use my logged-in session", "open ChatGPT/LinkedIn in automation", or when a browser task must preserve the user's existing windows. macOS, requires the agent-browser CLI.
RPAMIT Matt Townsend + 1Engineer @ MicrosoftManage desktop flows
Manage and run Power Automate Desktop (RPA) flows and machine groups. Use when the user asks about desktop flows, RPA, or machine groups.
RPAMITUipath architecture deepening
Use only when the user explicitly asks to deepen a proven UiPath architecture hotspot into ranked design options and a safe handoff.

