UiPath errors / Version

BusinessRuleException is ambiguous between UiPath.Framework.Activities and UiPath.Core

platform: UiPath / category: Version

Cause

Both UiPath.System.Activities and an older UiPath.Framework.Activities are referenced, each exporting BusinessRuleException, causing an ambiguous-reference compile error in Throw activities.

Fix

In Manage Packages, remove the legacy UiPath.Framework.Activities if unused. In Throw/Catch activities, fully qualify the type as UiPath.Core.BusinessRuleException. Run Analyze Project to confirm no remaining ambiguity. Republish after clearing the old package.

Source thread →

Part of the Automation Error Index — UiPath errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem