Why does UiPath return "The asset does not have a value associated with this robot (Error 1503)" when using credential activities?
Product(s)
- UiPath Studio / Robot Executor
- Package: UiPath.System.Activities
Issue Description
When attempting to use Get Credential or Set Credential activities for an Orchestrator credential asset, the process fails with errors similar to:
Error Example - Get Credential
25.10.12+Branch.support-v25.10.Sha.d76f5f8929ca42b9659983b74d9cf92d21a11fa0.d76f5f8929ca42b9659983b74d9cf92d21a11fa0Source: Get Credential
Message: Status code: 404 (Not Found). Orchestrator response:
The asset does not have a value associated with this robot. Error code: 1503Exception Type: System.Exception
in Main.xaml
at GetRobotCredential "Get Credential"
at Sequence "Main Sequence"
at Main "Main"
System.Exception: Status code: 404 (Not Found). Orchestrator response:
The asset does not have a value associated with this robot. Error code: 1503
at UiPath.Core.Activities.BaseAssetActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Error Example - Set Credential
25.10.12+Branch.support-v25.10.Sha.d76f5f8929ca42b9659983b74d9cf92d21a11fa0.d76f5f8929ca42b9659983b74d9cf92d21a11fa0Source: Set Credential
Message: The asset does not have a value associated with this robot. Error code: 1503
Exception Type: System.Exception
in Main.xaml
at SetCredential "Set Credential"
at Sequence "Main Sequence"
at Main "Main"
System.Exception: The asset does not have a value associated with this robot. Error code: 1503
at UiPath.Core.Activities.TaskExtensions.ThrowIfNeeded(Task task, Boolean suppresThrowException)
at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity.ThrowIfNeeded(AsyncCodeActivityContext ctx, Task task, Boolean suppressThrowException)
at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Root Cause
This is expected behavior.
The issue occurs when:
- The credential asset is configured as a per-robot asset, and
- The robot executing the process is not assigned a credential value for that asset
Key Concept:
- Per-robot assets require a specific value assigned to each robot
- The Get Credential and Set Credential activities run under the executing robot's identity and permissions
- If no credential is defined for that robot → Orchestrator returns Error 1503
How It Works
| Activity | Behavior |
|---|---|
| Get Cred | Retrieves credentials using the robot's context |
| Set Credential | Updates credentials using the robot's context |
| Both | Require the robot to have access to the asset in Orchestrator |
Resolution / Solution Steps
Option 1: Assign Credential Value to the Robot (Recommended)
- Go to UiPath Orchestrator
- Navigate to: Tenant → Assets
- Locate the credential asset
- Ensure the asset is configured as Per Robot
- Assign a credential value to the specific robot:
- Open the asset
- Add / Edit the robot-specific value
6. Save changes
7. Re-run the process
Option 2: Convert Asset to Global (If Applicable)
Use this if the same credential should be shared across robots.
- Open the asset in Orchestrator
- Change Scope to Global
- Enter a global credential value
- Save changes
- Re-run the process
Option 3: Ensure Robot Has Proper Permissions
- Go to Tenant → Manage Access → Roles
- Verify the robot’s role includes:
- Assets → View
- Assets → Edit (required for Set Credential)
3. Assign the role to the robot if necessary
Option 4: Validate Execution Context
Ensure:
- The process runs under the expected robot identity
- The robot belongs to the same folder where the asset is defined
- No folder-level access restrictions block the asset
Option 5: Validate Asset Type in Workflow
- Confirm the activity references the correct asset name
- Ensure the asset type is Credential, not Text/Boolean/Integer
Best Practices
- Use Global assets for shared credentials
- Use Per-robot assets only when credentials differ per machine
- Always validate:
- Robot-to-asset assignment
- Folder and role permissions
- Maintain naming consistency to avoid referencing errors
Additional Notes
- Both activities inherit permissions from the executing robot
- No manual authentication override is possible within these activities
- Error 1503 specifically indicates missing robot-to-asset mapping
References
- UiPath Docs - Get Credential
- UiPath Docs - Set Credential

