@uipath/skills 1.198.0-preview.21 → 1.199.0-preview.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CODEOWNERS +4 -2
- package/hooks/send-telemetry.ps1 +19 -13
- package/hooks/send-telemetry.sh +19 -13
- package/package.json +1 -1
- package/skills/uipath-admin/SKILL.md +10 -7
- package/skills/uipath-admin/references/audit-commands.md +21 -10
- package/skills/uipath-admin/references/audit-workflow-guide.md +15 -6
- package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +6 -1
- package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +7 -1
- package/skills/uipath-agents/references/coded/embedding-in-flows.md +5 -5
- package/skills/uipath-agents/references/coded/flow-integration.md +1 -1
- package/skills/uipath-agents/references/coded/quickstart.md +3 -3
- package/skills/uipath-agents/references/coded-vs-lowcode-guide.md +1 -1
- package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +39 -2
- package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +36 -2
- package/skills/uipath-agents/references/lowcode/capabilities/process/process.md +4 -4
- package/skills/uipath-agents/references/lowcode/capabilities/process/solution-files.md +1 -1
- package/skills/uipath-agents/references/lowcode/critical-rules/critical-rules.md +1 -1
- package/skills/uipath-agents/references/lowcode/project-lifecycle.md +19 -9
- package/skills/uipath-agents/references/lowcode/solution-resources.md +2 -2
- package/skills/uipath-api-workflow/SKILL.md +14 -7
- package/skills/uipath-api-workflow/references/cli-reference.md +2 -2
- package/skills/uipath-api-workflow/references/connector-activity-discovery.md +1 -1
- package/skills/uipath-api-workflow/references/expressions-and-context.md +2 -2
- package/skills/uipath-api-workflow/references/operating-published-workflows.md +74 -0
- package/skills/uipath-api-workflow/references/task-types.md +3 -3
- package/skills/uipath-api-workflow/references/troubleshooting.md +23 -10
- package/skills/uipath-coded-apps/SKILL.md +3 -3
- package/skills/uipath-coded-apps/assets/scripts/dashboards/build-dashboard.mjs +2 -2
- package/skills/uipath-coded-apps/references/create-action-app.md +11 -3
- package/skills/uipath-coded-apps/references/create-web-app.md +9 -7
- package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +3 -1
- package/skills/uipath-coded-apps/references/dashboards/plugins/deploy/impl.md +145 -87
- package/skills/uipath-coded-apps/references/dashboards/primitives/state-file.md +2 -2
- package/skills/uipath-coded-apps/references/debug.md +44 -37
- package/skills/uipath-coded-apps/references/oauth-client-setup.md +69 -616
- package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +1 -1
- package/skills/uipath-coded-apps/references/sdk/data-fabric.md +3 -1
- package/skills/uipath-coded-apps/references/widgets/validation-station.md +169 -13
- package/skills/uipath-feedback/SKILL.md +12 -6
- package/skills/uipath-governance/references/auth-context.md +1 -1
- package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +115 -31
- package/skills/uipath-governance/references/compliance-pack/full-apply/impl.md +2 -1
- package/skills/uipath-governance/references/compliance-pack/query/impl.md +2 -2
- package/skills/uipath-human-in-the-loop/SKILL.md +3 -3
- package/skills/uipath-human-in-the-loop/references/hitl-node-apptask.md +2 -2
- package/skills/uipath-human-in-the-loop/references/hitl-node-coded-action-app.md +1 -1
- package/skills/uipath-human-in-the-loop/references/hitl-node-quickform.md +2 -2
- package/skills/uipath-insights/SKILL.md +2 -2
- package/skills/uipath-ixp/SKILL.md +5 -5
- package/skills/uipath-ixp/references/cli-reference.md +1 -1
- package/skills/uipath-maestro-bpmn/SKILL.md +92 -8
- package/skills/uipath-maestro-bpmn/references/diagnose/CAPABILITY.md +5 -1
- package/skills/uipath-maestro-bpmn/references/diagnose/references/troubleshooting-guide.md +5 -0
- package/skills/uipath-maestro-bpmn/references/expression-authoring.md +16 -3
- package/skills/uipath-maestro-bpmn/references/operate/references/run.md +17 -3
- package/skills/uipath-maestro-bpmn/references/public-safety.md +15 -0
- package/skills/uipath-maestro-bpmn/references/registry-workflow.md +50 -22
- package/skills/uipath-maestro-bpmn/references/shared/local-metadata-regeneration-guide.md +17 -0
- package/skills/uipath-maestro-bpmn/references/shared/project-layout.md +30 -2
- package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +54 -7
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +8 -4
- package/skills/uipath-maestro-case/SKILL.md +72 -34
- package/skills/uipath-maestro-case/assets/templates/sdd-template-examples.md +1 -1
- package/skills/uipath-maestro-case/assets/templates/sdd-template.md +40 -20
- package/skills/uipath-maestro-case/assets/templates/sdd-viewer.html +2 -2
- package/skills/uipath-maestro-case/references/bindings-and-expressions.md +13 -8
- package/skills/uipath-maestro-case/references/bindings-v2-sync.md +1 -1
- package/skills/uipath-maestro-case/references/brownfield.md +13 -3
- package/skills/uipath-maestro-case/references/case-commands.md +6 -6
- package/skills/uipath-maestro-case/references/case-editing-operations.md +13 -13
- package/skills/uipath-maestro-case/references/case-schema.md +58 -47
- package/skills/uipath-maestro-case/references/connector-trigger-common.md +2 -2
- package/skills/uipath-maestro-case/references/evals/evals.json +124 -23
- package/skills/uipath-maestro-case/references/implementation.md +15 -15
- package/skills/uipath-maestro-case/references/phase-0-interview.md +119 -460
- package/skills/uipath-maestro-case/references/phased-execution.md +23 -17
- package/skills/uipath-maestro-case/references/placeholder-tasks.md +3 -3
- package/skills/uipath-maestro-case/references/planning.md +48 -28
- package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +2 -1
- package/skills/uipath-maestro-case/references/plugins/case/planning.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +3 -3
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +2 -2
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +18 -2
- package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +12 -7
- package/skills/uipath-maestro-case/references/plugins/sla/planning.md +23 -7
- package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +3 -0
- package/skills/uipath-maestro-case/references/plugins/stages/planning.md +7 -4
- package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +15 -6
- package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +17 -34
- package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +15 -13
- package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +14 -10
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +2 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +8 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +4 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +55 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +9 -6
- package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +10 -5
- package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +3 -3
- package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +1 -0
- package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +1 -0
- package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +2 -1
- package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +10 -4
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +74 -24
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +51 -8
- package/skills/uipath-maestro-case/references/registry-discovery.md +83 -29
- package/skills/uipath-maestro-case/references/sdd-generation-rules.md +96 -64
- package/skills/uipath-maestro-flow/SKILL.md +2 -1
- package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +1 -1
- package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +1 -1
- package/skills/uipath-maestro-flow/references/author/references/greenfield.md +6 -6
- package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +4 -4
- package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/impl.md +4 -1
- package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/planning.md +1 -1
- package/skills/uipath-maestro-flow/references/diagnose/references/failure-modes.md +5 -7
- package/skills/uipath-maestro-flow/references/shared/cli-commands.md +13 -12
- package/skills/uipath-maestro-flow/references/shared/file-format.md +1 -1
- package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +2 -1
- package/skills/uipath-mcp-servers/SKILL.md +6 -6
- package/skills/uipath-mcp-servers/references/is-activity-workflow.md +17 -7
- package/skills/uipath-planner/SKILL.md +36 -24
- package/skills/uipath-planner/assets/templates/agent-sdd-template.md +111 -7
- package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +75 -11
- package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +429 -0
- package/skills/uipath-planner/assets/templates/case-sdd-template.md +114 -19
- package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +68 -5
- package/skills/uipath-planner/assets/templates/flow-sdd-template.md +84 -5
- package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +265 -26
- package/skills/uipath-planner/references/attended-reauth-pattern-guide.md +7 -1
- package/skills/uipath-planner/references/multi-skill-patterns-guide.md +11 -6
- package/skills/uipath-planner/references/non-pdd-lane-guide.md +90 -86
- package/skills/uipath-planner/references/package-selection-guide.md +4 -2
- package/skills/uipath-planner/references/pdd-analysis-guide.md +34 -7
- package/skills/uipath-planner/references/pdd-driven-lane-guide.md +25 -3
- package/skills/uipath-planner/references/plan-and-tasks-format.md +7 -6
- package/skills/uipath-planner/references/platform-availability-guide.md +5 -2
- package/skills/uipath-planner/references/product-selection-guide.md +239 -21
- package/skills/uipath-planner/references/rpa-product-guide.md +22 -2
- package/skills/uipath-planner/references/sdd-generation-guide.md +123 -31
- package/skills/uipath-planner/references/tenant-library-search-guide.md +6 -4
- package/skills/uipath-planner/scripts/docx-extract.ps1 +59 -0
- package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +74 -0
- package/skills/uipath-platform/SKILL.md +12 -3
- package/skills/uipath-platform/references/data-fabric/data-fabric.md +7 -1
- package/skills/uipath-platform/references/data-fabric/entity-schema.md +21 -2
- package/skills/uipath-platform/references/data-fabric/filter-platform-contract.md +2 -0
- package/skills/uipath-platform/references/data-fabric/records-query.md +12 -0
- package/skills/uipath-platform/references/integration-service/triggers.md +2 -0
- package/skills/uipath-platform/references/orchestrator/tenant-admin.md +3 -1
- package/skills/uipath-rpa/CLAUDE.md +12 -10
- package/skills/uipath-rpa/SKILL.md +62 -34
- package/skills/uipath-rpa/references/cli-reference.md +3 -1
- package/skills/uipath-rpa/references/coded/codedworkflow-reference.md +1 -1
- package/skills/uipath-rpa/references/coded/coding-guidelines.md +18 -3
- package/skills/uipath-rpa/references/coded/operations-guide.md +8 -6
- package/skills/uipath-rpa/references/legacy/activity-docs/ActiveDirectory.md +2 -3
- package/skills/uipath-rpa/references/legacy/activity-docs/_INDEX.md +1 -1
- package/skills/uipath-rpa/references/library-authoring-guide.md +1 -1
- package/skills/uipath-rpa/references/powershell-interop-guide.md +1 -1
- package/skills/uipath-rpa/references/project-structure-guide.md +1 -1
- package/skills/uipath-rpa/references/testing-guide.md +1 -1
- package/skills/uipath-rpa/references/uia-starter-guide.md +216 -0
- package/skills/uipath-rpa/references/validation-guide.md +2 -0
- package/skills/uipath-rpa/references/xaml/workflow-guide.md +2 -2
- package/skills/uipath-solution/SKILL.md +8 -6
- package/skills/uipath-solution/references/develop-solution.md +14 -14
- package/skills/uipath-solution/references/pack-and-deploy.md +4 -0
- package/skills/uipath-solution/references/scenarios/intra-solution-references.md +1 -1
- package/skills/uipath-solution/references/scenarios/manual-edits.md +2 -2
- package/skills/uipath-solution/references/solution-overview.md +28 -1
- package/skills/uipath-tasks/SKILL.md +2 -2
- package/skills/uipath-tasks/references/action-center-urls.md +4 -5
- package/skills/uipath-troubleshoot/SKILL.md +15 -9
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/overview.md +19 -2
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/browser-open-or-attach-failed.md +4 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/browser-scope-errors.md +119 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/click-silent-no-op.md +76 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/invoke-workflow-failed.md +38 -11
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/invoke-workflow-file-design-time-errors.md +89 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/queue-operation-failed.md +91 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/trigger-scope-and-local-triggers-failed.md +106 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/type-into-wrong-or-incomplete-text.md +91 -0
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/summary.md +7 -2
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/overview.md +38 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-datatable-structure-mismatch.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-file-locked-or-invalid-path.md +33 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-helper-method-not-found.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-file-not-found.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-invalid-format.md +33 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-more-values-than-header.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-access-denied.md +35 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-cannot-set-unknown-member.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-invalid-delimiter.md +27 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-unsupported-encoding.md +27 -0
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/summary.md +16 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-query-failures.md +27 -2
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/summary.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/overview.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-card-failures.md +20 -31
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-scope-failures.md +7 -6
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-not-installed.md +72 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/null-reference-from-activity.md +150 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/read-range-sheet-not-found.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/{read-range-file-locked.md → workbook-file-locked.md} +54 -40
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/write-cell-failures.md +3 -3
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/summary.md +5 -7
- package/skills/uipath-troubleshoot/references/activity-packages/file-operations/overview.md +31 -0
- package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-403-401-auth.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-host-not-found.md +33 -0
- package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-httpclient-reused-in-loop.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-stuck-tmp.md +29 -0
- package/skills/uipath-troubleshoot/references/activity-packages/file-operations/summary.md +10 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/investigation_guide.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/overview.md +33 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-document-rejected.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-license-or-endpoint-rejected.md +63 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-not-enabled-or-tenant-key.md +38 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-storage-or-taxonomy-missing.md +44 -0
- package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/summary.md +10 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/investigation_guide.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/overview.md +35 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/playbooks/broadcast-message-timeout.md +38 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/playbooks/broadcast-message-unauthorized-access.md +38 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/presentation.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/summary.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/investigation_guide.md +31 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/overview.md +39 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-activity-missing-or-not-loaded.md +37 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-add-comment-failures.md +50 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-scope-authentication-failures.md +47 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-scope-response-not-json-or-500.md +42 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-transition-issue-failures.md +47 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/presentation.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/summary.md +11 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/overview.md +1 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-smtp-mail-failures.md +161 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/summary.md +1 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/investigation_guide.md +29 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/overview.md +26 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-endpoint-and-authentication.md +52 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-engine-config-and-dependencies.md +55 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-input-and-runtime.md +51 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/summary.md +10 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/investigation_guide.md +33 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/overview.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-corrupt-or-image-input.md +49 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-encrypted-or-wrong-password.md +51 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-file-not-found-or-not-pdf.md +45 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-invalid-page-range.md +42 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-read-ocr-no-engine.md +39 -0
- package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/summary.md +11 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/overview.md +1 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-architecture-version-mismatch.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-hang-dotnet-runtime.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/summary.md +1 -0
- package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/investigation_guide.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/overview.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-bapi-not-found.md +39 -0
- package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-connection-failed.md +46 -0
- package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-unsupported-bapi.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/summary.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/investigation_guide.md +31 -0
- package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/overview.md +29 -0
- package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/playbooks/connection-resolution-failure.md +46 -0
- package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/playbooks/slack-api-error.md +65 -0
- package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/summary.md +8 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/investigation_guide.md +13 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/overview.md +21 -9
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/compress-extract-files-failed.md +64 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/download-file-failed.md +46 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/file-folder-operation-failed.md +61 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-wrong-activity-type.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/queue-transaction-activity-failed.md +47 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/summary.md +6 -0
- package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/investigation_guide.md +28 -0
- package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/overview.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-connection-failed.md +58 -0
- package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-null-reference.md +40 -0
- package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/summary.md +8 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/interpretations/healing-agent-data.md +10 -27
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/investigation_guide.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/overview.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/ambiguous-selector.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/application-not-found.md +1 -10
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/browser-communication-failed.md +85 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-coordinate-off-screen.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-silent-no-op.md +79 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/dependency-version-conflict.md +66 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/disabled-element.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/napplicationcard-view-generation-failed.md +78 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +2 -2
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-healing-disabled.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-healing-fix.md +4 -2
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-manual.md +3 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/type-into-input-failed.md +148 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/verify-execution-failure.md +2 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/summary.md +5 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/add-picture-failures.md +1 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-interop-failures.md +5 -0
- package/skills/uipath-troubleshoot/references/presenting.md +3 -3
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/context-grounding-index-not-found.md +35 -24
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/guardrail-violation.md +14 -12
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/input-schema-validation-failure.md +23 -13
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-connection-disabled.md +6 -4
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-invalid-credentials.md +12 -9
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-invalid-element-instance.md +12 -9
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/llm-insufficient-information.md +20 -13
- package/skills/uipath-troubleshoot/references/products/agents/summary.md +1 -1
- package/skills/uipath-troubleshoot/references/products/api-workflows/investigation_guide.md +52 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/overview.md +33 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/connection-auth-failure.md +49 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/expression-reference-error.md +32 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/output-undefined.md +39 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/publish-deploy-failure.md +38 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/run-not-successful.md +37 -0
- package/skills/uipath-troubleshoot/references/products/api-workflows/summary.md +14 -0
- package/skills/uipath-troubleshoot/references/products/assistant/investigation_guide.md +71 -0
- package/skills/uipath-troubleshoot/references/products/assistant/overview.md +44 -0
- package/skills/uipath-troubleshoot/references/products/assistant/playbooks/assistant-crash.md +38 -0
- package/skills/uipath-troubleshoot/references/products/assistant/playbooks/orchestrator-connection-failure.md +43 -0
- package/skills/uipath-troubleshoot/references/products/assistant/playbooks/process-missing-or-unstartable.md +41 -0
- package/skills/uipath-troubleshoot/references/products/assistant/playbooks/sign-in-failure.md +42 -0
- package/skills/uipath-troubleshoot/references/products/assistant/summary.md +18 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/overview.md +49 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/action-app-form-data-not-loading.md +66 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/api-401-after-login.md +51 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/api-403-folder-permission.md +51 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/cors-error-wrong-base-url.md +46 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/deploy-404-app-not-found.md +59 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/invalid-scope.md +70 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/isauthenticated-false-after-callback.md +59 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/redirect-uri-mismatch.md +59 -0
- package/skills/uipath-troubleshoot/references/products/coded-apps/summary.md +14 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-invalid.md +11 -10
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-not-resolved.md +3 -3
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-general-exception.md +1 -1
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/request-failed.md +2 -0
- package/skills/uipath-troubleshoot/references/products/maestro/error_codes.md +2 -2
- package/skills/uipath-troubleshoot/references/products/maestro/investigation_guide.md +6 -2
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/autopilot-429.md +8 -5
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/expression-evaluation-errors.md +6 -0
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/folder-not-accessible.md +1 -1
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/gateway-no-outgoing-flow.md +6 -4
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/integration-service-404.md +3 -2
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/js-runtime-discrepancy.md +7 -1
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/marker-input-null.md +4 -0
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/marker-invalid-cast.md +5 -1
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/multi-instance-parallel.md +7 -1
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/no-suitable-runtime-machine.md +2 -0
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/personal-automation-quota.md +1 -1
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/service-task-child-job-faulted.md +10 -2
- package/skills/uipath-troubleshoot/references/products/maestro/playbooks/variable-expression-errors.md +6 -0
- package/skills/uipath-troubleshoot/references/products/maestro/summary.md +5 -5
- package/skills/uipath-troubleshoot/references/products/orchestrator/investigation_guide.md +2 -2
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-logon-failure.md +2 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-session-timeout.md +50 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-pending-no-host.md +2 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-stuck.md +2 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/summary.md +1 -0
- package/skills/uipath-troubleshoot/references/products/studio/overview.md +34 -0
- package/skills/uipath-troubleshoot/references/products/studio/playbooks/studio-autopilot-unavailable.md +47 -0
- package/skills/uipath-troubleshoot/references/products/studio/summary.md +7 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/overview.md +12 -1
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/argument-exception.md +48 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/argument-out-of-range-exception.md +50 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/assign-linq-no-data-rows.md +78 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/assign-type-mismatch.md +91 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/directory-not-found-exception.md +47 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/if-condition-compiler-error.md +81 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/if-wrong-branch.md +85 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/index-out-of-range-exception.md +48 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/invalid-operation-exception.md +51 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/key-not-found-exception.md +45 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/null-reference-exception.md +2 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/visualbasicvalue-requires-compilation.md +47 -0
- package/skills/uipath-troubleshoot/references/runtime-exceptions/summary.md +11 -0
- package/skills/uipath-troubleshoot/references/summary.md +138 -5
- package/version-manifest.json +2 -2
- package/skills/uipath-rpa/references/ui-automation-guide.md +0 -559
- package/skills/uipath-rpa/references/uia-configure-target-workflows.md +0 -188
- package/skills/uipath-rpa/references/uia-elements-interaction-guide.md +0 -102
- package/skills/uipath-rpa/references/uia-prerequisites.md +0 -42
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/add-queue-item-failed.md +0 -58
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-excel-not-installed.md +0 -36
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-file-locked.md +0 -40
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-null-reference.md +0 -37
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/read-range-null-reference.md +0 -119
|
@@ -4,13 +4,13 @@ Diagnoses and fixes failures in UiPath coded apps and coded action apps — auth
|
|
|
4
4
|
|
|
5
5
|
**AUTONOMY PRINCIPLE**: Do everything you can with your tools. Only ask the user for things the agent physically cannot do: entering passwords or 2FA codes during login, confirming a destructive portal action. Never ask the user to "let you know" when something is done if you can detect it yourself.
|
|
6
6
|
|
|
7
|
-
**Specifically, External Application configuration changes (adding scopes, adding redirect URIs) are
|
|
8
|
-
- Say *"I can't make that change from here"* (you can — the
|
|
7
|
+
**Specifically, External Application configuration changes (adding scopes, adding redirect URIs) are one `uip admin external-apps update` CLI call — see [oauth-client-setup.md](oauth-client-setup.md).** When a fix requires an app change, run the CLI — do not:
|
|
8
|
+
- Say *"I can't make that change from here"* (you can — the CLI updates the app directly)
|
|
9
9
|
- Run `open <portal URL>` to hand the browser to the user
|
|
10
10
|
- List manual click-through steps for the user to perform
|
|
11
11
|
- Present "Option A: open the portal for you to click / Option B: try something else" menus
|
|
12
12
|
|
|
13
|
-
The only time to fall back to manual is
|
|
13
|
+
The only time to fall back to the [manual portal steps](oauth-client-setup.md#manual-portal-fallback) is when the CLI can't run — not authenticated, or the identity lacks external-app admin permission (`403`).
|
|
14
14
|
|
|
15
15
|
**SDK-FIRST PRINCIPLE**: When fixing code, always check what methods `@uipath/uipath-typescript` already provides before writing custom code.
|
|
16
16
|
|
|
@@ -45,8 +45,11 @@ The reproduction script uses the system's real Chrome via Playwright CLI (same p
|
|
|
45
45
|
|| ls "/c/Program Files (x86)/Google/Chrome/Application/chrome.exe" 2>/dev/null) \
|
|
46
46
|
&& echo "chrome-found" || echo "chrome-missing"
|
|
47
47
|
|
|
48
|
-
# Playwright —
|
|
49
|
-
#
|
|
48
|
+
# Playwright — used only for the browser-based reproduction below.
|
|
49
|
+
# If missing, install into a dedicated dir (not the user's app):
|
|
50
|
+
# mkdir -p ~/.uipath-skills/playwright && cd ~/.uipath-skills/playwright \
|
|
51
|
+
# && (test -f package.json || npm init -y >/dev/null) \
|
|
52
|
+
# && (test -e node_modules/playwright || npm install playwright)
|
|
50
53
|
npx playwright --version 2>/dev/null || echo "playwright-missing"
|
|
51
54
|
```
|
|
52
55
|
|
|
@@ -54,7 +57,7 @@ If Chrome is missing, skip to Step 0d — ask the user to describe the failure (
|
|
|
54
57
|
|
|
55
58
|
### 0c — Run the reproduction script
|
|
56
59
|
|
|
57
|
-
Write the following to `~/.uipath-skills/playwright/reproduce.mjs` (or your project root if Playwright is installed there — see
|
|
60
|
+
Write the following to `~/.uipath-skills/playwright/reproduce.mjs` (or your project root if Playwright is installed there — see the install snippet in Step 0b). Substitute `APP_URL` if the port isn't 5173. Run from the directory the script lives in:
|
|
58
61
|
|
|
59
62
|
```bash
|
|
60
63
|
cd ~/.uipath-skills/playwright && node ./reproduce.mjs
|
|
@@ -258,7 +261,7 @@ Match the observation to the correct fix section. **Jump directly to the matchin
|
|
|
258
261
|
|
|
259
262
|
Read the app's current configuration:
|
|
260
263
|
|
|
261
|
-
1. **Find SDK config.** The app initializes the SDK with `new UiPath()` (no config) and reads everything from `<meta name="uipath:*">` tags injected at runtime. During local dev those tags come from **`uipath.json`** (committed, project root) — the single config source, holding `clientId`, `scope`, `orgName`, `tenantName`, `baseUrl`, and `redirectUri` (the local dev URL). To change any of these, edit `uipath.json`. The remediation
|
|
264
|
+
1. **Find SDK config.** The app initializes the SDK with `new UiPath()` (no config) and reads everything from `<meta name="uipath:*">` tags injected at runtime. During local dev those tags come from **`uipath.json`** (committed, project root) — the single config source, holding `clientId`, `scope`, `orgName`, `tenantName`, `baseUrl`, and `redirectUri` (the local dev URL). To change any of these, edit `uipath.json`. The remediation steps below operate on that file (and register matching redirect URIs / scopes on the External App via `uip admin external-apps update`).
|
|
262
265
|
|
|
263
266
|
2. **Identify SDK services in use** — grep for `new Assets(`, `new Entities(`, `new Buckets(`, `new Processes(`, `new Tasks(`, `new Queues(`, `new MaestroProcesses(`, `new Cases(`, `new ConversationalAgent(` in `**/*.ts` and `**/*.tsx`.
|
|
264
267
|
|
|
@@ -276,7 +279,7 @@ Map each SDK service found in Step 1 to its required scopes using [oauth-scopes.
|
|
|
276
279
|
|
|
277
280
|
If scopes are missing:
|
|
278
281
|
1. Update the `scope` field in `uipath.json` to add the missing scopes.
|
|
279
|
-
2.
|
|
282
|
+
2. Register the scopes on the External App via CLI — see [Add scopes to an existing app](oauth-client-setup.md#add-scopes-to-an-existing-app). `update` replaces scopes, so read current scopes with `uip admin external-apps get <clientId> --output json` first, then pass the full union to `--user-scope`. Do not ask the user to click through the portal. Fall back to [manual steps](oauth-client-setup.md#add-scopes-to-an-existing-app-1) only if the CLI can't run (not authenticated / `403`).
|
|
280
283
|
|
|
281
284
|
### 2b — Base URL
|
|
282
285
|
|
|
@@ -297,7 +300,7 @@ The SDK reads the redirect URI from the `uipath:redirect-uri` meta tag — local
|
|
|
297
300
|
- CRA default: `http://localhost:3000` (and `http://localhost:3000/`)
|
|
298
301
|
- Custom port: check `vite.config.ts` for `server.port`, and set `redirectUri` in `uipath.json` to match
|
|
299
302
|
|
|
300
|
-
If you see a `redirect_uri_mismatch` error, identify the actual URL the browser is on
|
|
303
|
+
If you see a `redirect_uri_mismatch` error, identify the actual URL the browser is on, then register it on the External App via CLI — see [Add redirect URIs to an existing app](oauth-client-setup.md#add-redirect-uris-to-an-existing-app). `update` replaces the redirect list, so read current URIs with `uip admin external-apps get <clientId> --output json` first, then pass existing + the failing URL + its trailing-slash variant to `--redirect-uri`. Do not ask the user to click through the portal.
|
|
301
304
|
|
|
302
305
|
---
|
|
303
306
|
|
|
@@ -359,50 +362,54 @@ rm ~/.uipath-skills/playwright/clear-state.mjs 2>/dev/null
|
|
|
359
362
|
|
|
360
363
|
**Cause:** The redirect URI the SDK sends (from the `uipath:redirect-uri` meta tag — locally the `redirectUri` in `uipath.json`) is not registered in the UiPath External Application, or does not match the URL the app is actually served from.
|
|
361
364
|
|
|
362
|
-
> **You fix this yourself with
|
|
365
|
+
> **You fix this yourself with the CLI.** Do not tell the user *"register the URI in UiPath Cloud"* and stop there. Do not run `open <portal URL>`. Do not present a bullet list of admin-portal clicks. `uip admin external-apps update` registers the redirect URI directly.
|
|
363
366
|
|
|
364
367
|
**Fix (autonomous) — execute these steps yourself without deferring to the user:**
|
|
365
368
|
1. Identify the URL the browser was sent to when login was triggered (e.g. `http://localhost:5173` or `http://localhost:5173/`). Step 0c's `finalUrl` usually shows it.
|
|
366
|
-
2.
|
|
367
|
-
3. Run with `--op add-redirects` from the directory the script lives in (Setup B default below; for Setup A use the project root):
|
|
369
|
+
2. Read the current redirect URIs (`update` replaces, not merges):
|
|
368
370
|
```bash
|
|
369
|
-
|
|
370
|
-
--cloud-host https://staging.uipath.com --org-name myorg \
|
|
371
|
-
--client-id <uuid> \
|
|
372
|
-
--redirects 'http://localhost:5173,http://localhost:5173/'
|
|
371
|
+
uip admin external-apps get <clientId> --output json
|
|
373
372
|
```
|
|
374
|
-
|
|
373
|
+
3. Update with existing + the failing URL + its trailing-slash variant:
|
|
374
|
+
```bash
|
|
375
|
+
uip admin external-apps update <clientId> \
|
|
376
|
+
--redirect-uri "<existing_uris>,http://localhost:5173,http://localhost:5173/" \
|
|
377
|
+
--output json
|
|
378
|
+
```
|
|
379
|
+
4. Verify with `uip admin external-apps get <clientId> --output json`. Clear browser state (Step 3), re-run Step 0c to confirm the fix. On the app side, confirm the `redirectUri` in `uipath.json` matches the URL you just registered (and the URL the dev server serves).
|
|
375
380
|
|
|
376
|
-
Fall back to [manual
|
|
381
|
+
Fall back to [manual steps](oauth-client-setup.md#add-redirect-uris-to-an-existing-app-1) only if the CLI can't run (not authenticated / `403`).
|
|
377
382
|
|
|
378
|
-
> Production redirect URIs are registered automatically by `uip codedapp deploy`. If they're missing on the External Application after a deploy, the same
|
|
383
|
+
> Production redirect URIs are registered automatically by `uip codedapp deploy`. If they're missing on the External Application after a deploy, the same CLI update can add them.
|
|
379
384
|
|
|
380
385
|
### `invalid_scope` Error in Auth URL
|
|
381
386
|
|
|
382
387
|
**Cause:** The External Application doesn't have the requested scopes enabled.
|
|
383
388
|
|
|
384
|
-
> **You fix this yourself with
|
|
389
|
+
> **You fix this yourself with the CLI.** Do not tell the user *"the External App needs the scope added in UiPath Cloud"* and stop there. Do not run `open <portal URL>`. Do not present a bullet list of admin-portal clicks. `uip admin external-apps update --user-scope` registers the scopes directly.
|
|
385
390
|
|
|
386
391
|
**Fix (autonomous) — execute these steps yourself without deferring to the user:**
|
|
387
392
|
1. Read [oauth-scopes.md](oauth-scopes.md) and determine every scope the SDK services in use require.
|
|
388
393
|
2. Update the `scope` field in `uipath.json` to list all required scopes (space-separated).
|
|
389
|
-
3.
|
|
390
|
-
|
|
394
|
+
3. Read the current scopes (`update` replaces, not merges):
|
|
395
|
+
```bash
|
|
396
|
+
uip admin external-apps get <clientId> --output json
|
|
397
|
+
```
|
|
398
|
+
4. Update with the full union (existing + new), comma-separated:
|
|
391
399
|
```bash
|
|
392
|
-
|
|
393
|
-
--
|
|
394
|
-
--
|
|
395
|
-
--scopes-by-resource '{"Orchestrator":["OR.Tasks.Read"]}'
|
|
400
|
+
uip admin external-apps update <clientId> \
|
|
401
|
+
--user-scope "<existing_scopes>,OR.Tasks.Read" \
|
|
402
|
+
--output json
|
|
396
403
|
```
|
|
397
|
-
>
|
|
398
|
-
5. Verify
|
|
404
|
+
> Scope names are flat and comma-separated — no portal resource grouping. Pick names from [oauth-scopes.md](oauth-scopes.md); `uip admin scopes list --output json` lists valid names.
|
|
405
|
+
5. Verify with `uip admin external-apps get <clientId> --output json`. Clear browser state (Step 3) and re-test.
|
|
399
406
|
|
|
400
|
-
Fall back to the [manual
|
|
407
|
+
Fall back to the [manual steps](oauth-client-setup.md#add-scopes-to-an-existing-app-1) only if the CLI can't run (not authenticated / `403`).
|
|
401
408
|
|
|
402
409
|
### API Calls Fail with 401 After Login
|
|
403
410
|
|
|
404
411
|
**Cause 1:** Token has the wrong scopes for the API being called.
|
|
405
|
-
**Fix:** Update the `scope` field in `uipath.json` with the missing scope (see [oauth-scopes.md](oauth-scopes.md)), then
|
|
412
|
+
**Fix:** Update the `scope` field in `uipath.json` with the missing scope (see [oauth-scopes.md](oauth-scopes.md)), then [add the scope to the External App](oauth-client-setup.md#add-scopes-to-an-existing-app) via `uip admin external-apps update`. Clear browser storage (Step 3) and re-authenticate so the new token includes the added scope.
|
|
406
413
|
|
|
407
414
|
**Cause 2:** Token expired.
|
|
408
415
|
**Fix:** Clear browser storage (Step 3) and re-authenticate.
|
|
@@ -443,7 +450,7 @@ if (!sdk.isAuthenticated()) {
|
|
|
443
450
|
**Cause:** `sdk.initialize()` redirects the browser — if the redirect doesn't return to the app, the OAuth flow never completes.
|
|
444
451
|
|
|
445
452
|
**Check:**
|
|
446
|
-
1. Does the `redirectUri` in `uipath.json` (injected as the `uipath:redirect-uri` meta tag, e.g. `http://localhost:5173`) match the URL the app runs at **and** a redirect URI registered on the External Application? If not, fix `uipath.json` and/or
|
|
453
|
+
1. Does the `redirectUri` in `uipath.json` (injected as the `uipath:redirect-uri` meta tag, e.g. `http://localhost:5173`) match the URL the app runs at **and** a redirect URI registered on the External Application? If not, fix `uipath.json` and/or [add the redirect URI to the External App](oauth-client-setup.md#add-redirect-uris-to-an-existing-app) via `uip admin external-apps update` (include both with and without trailing slash).
|
|
447
454
|
2. Is the dev server running on the expected port (default: 5173)?
|
|
448
455
|
3. Clear browser storage and retry.
|
|
449
456
|
|
|
@@ -494,14 +501,14 @@ After fixing, rebuild (`npm run build`) and re-deploy (`uip codedapp deploy`). I
|
|
|
494
501
|
|
|
495
502
|
## External Application Setup
|
|
496
503
|
|
|
497
|
-
For any create or update of an External Application (adding redirect URIs, adding scopes, creating a new app), use the
|
|
504
|
+
For any create or update of an External Application (adding redirect URIs, adding scopes, creating a new app), use the `uip admin external-apps` CLI — see [oauth-client-setup.md](oauth-client-setup.md). The file covers:
|
|
498
505
|
|
|
499
|
-
- [Create
|
|
500
|
-
- [Add
|
|
501
|
-
- [Add
|
|
502
|
-
- Manual fallback
|
|
506
|
+
- [Create an External Application](oauth-client-setup.md#create-an-external-application)
|
|
507
|
+
- [Add redirect URIs to an existing app](oauth-client-setup.md#add-redirect-uris-to-an-existing-app)
|
|
508
|
+
- [Add scopes to an existing app](oauth-client-setup.md#add-scopes-to-an-existing-app)
|
|
509
|
+
- Manual portal fallback for each operation, when the CLI can't run
|
|
503
510
|
|
|
504
|
-
Key constants to remember
|
|
511
|
+
Key constants to remember:
|
|
505
512
|
- Dev redirect URIs: `http://localhost:5173` and `http://localhost:5173/` (register both)
|
|
506
513
|
- Action apps redirect URI: `https://cloud.uipath.com/<orgName>/<tenantName>/actions_`
|
|
507
514
|
- Production web-app URIs are registered automatically by `uip codedapp deploy` — do not add them manually.
|