Error fix for "An organization unit is required for this action. Error code: 1101", thrown when using Get Asset activities in the workflow? If i use an activity that works with Orchestrator, i get this error:"An organization unit is required for this action. Error code: 1101"
Issue Description
Organization Units are the precursor of what are folders in Orchestrator. They remain as a legacy-mention in the API endpoints for UiPath Orchestrator.
Read the "Response codes" page for a list of the response codes following an API call to UiPath Orchestrator.
Resolution
To fix the error "An organization unit is required for this action. Error code: 1101", follow the below approaches:
- Upgrade the UiPath.System.Activity packages to the latest version available. Or upgrade the activity package containing the activity calling the UiPath Orchestrator endpoint.
- Make sure that the property "Orchestrator folder path" of the activity is correctly configured to include the folder name/folder structure as it appears in Orchestrator
- If you make the API call from any other system like Postman, make sure that the FolderID, FolderPath or FolderKey are included in the request header.