Automation Anywhere Troubleshooting
If you encounter any of the following issues or errors while configuring the Automation Anywhere RPA platform, SailPoint recommends that you follow the guidance provided below to resolve the error before contacting SailPoint Support.
Debug Logs
For information about managing additional source settings, including debug logging and downloading connector logs, refer to Managing Additional Settings.
Connection test failed: Unknown host
Cause: Base URL is incorrect or network cannot resolve hostname
Resolution:
- Verify the base URL format.
- Check for typos in the hostname.
- Confirm the Automation Anywhere Control Room tenant is active (not suspended).
Authentication failed: token missing from response
Cause: Automation Anywhere username or password is incorrect or the account is locked
Resolution:
-
Verify the Automation Anywhere username and password configured in SailPoint:
- Go to Automation Anywhere Control Room > Administration > Users.
- Confirm the user account exists and is active.
- Reset the password if needed and update the connector configuration.
-
Confirm the user account is not locked or disabled in Automation Anywhere Control Room.
- Ensure the Automation Anywhere Control Room URL (
Base URL) points to the correct tenant. - Verify that the user has API access enabled in Automation Anywhere Control Room.
Automation Anywhere token validation failed: token is not valid
Cause: The token obtained during authentication failed the validation step
Resolution:
- Verify the Automation Anywhere Control Room URL is correct and reachable.
- Confirm the Automation Anywhere user account has not been deactivated between authentication and validation.
- Check that the Automation Anywhere Control Room version supports the
/v1/authentication/tokenvalidation endpoint. - Try re-running Test Connection; a transient Control Room issue may cause intermittent token validation failures.
Connection test failed: 401 Unauthorized
Cause: Automation Anywhere credentials are invalid or the user account lacks API access
Resolution:
- Verify the Automation Anywhere username and password in the connector configuration.
-
Confirm the user account exists and is not locked in Automation Anywhere Control Room:
- Go to Automation Anywhere Control Room > Administration > Users.
- Check the account status.
-
Ensure the user has the AAE_Basic role or equivalent that allows API authentication.
- Verify that the Automation Anywhere Control Room URL (
Base URL) is correct and does not include a trailing slash.
Bot file ID not configured; required for operation
Cause: The bot file ID for the requested operation is missing from the connector configuration
Resolution:
-
Verify that the bot file ID is configured in SailPoint for the required operation:
- Create
FileId - Update
FileId - Delete
FileId - Enable
FileId - Disable
FileId
- Create
-
To find the correct file ID in Automation Anywhere Control Room:
- Log into Automation Anywhere Control Room.
- Go to Automation > Bots.
- Find your bot.
- The file ID is the numeric ID shown in the bot details or in the URL.
- Copy the numeric ID and paste it into the SailPoint configuration.
-
Ensure the bot is uploaded and available in Automation Anywhere Control Room (not just locally saved).
- Verify that the Run As User (
aaRunAsUserIds) has permission to run the bot.
Bot execution FAILED or Bot execution STOPPED
Cause: The Automation Anywhere bot encountered an error during execution or was manually stopped
Resolution:
-
Log into Automation Anywhere Control Room and check the activity logs:
- Go to Activity > Historical.
- Find the failed or stopped activity.
- Review the error details and bot execution logs.
-
Common causes:
- Target system is unavailable or credentials used by the bot have expired.
- Bot logic encountered an unexpected UI or API response in the target system.
- Bot was manually stopped by a Control Room administrator.
-
Verify that the Run As User device or bot runner is online and available.
- If using device pools (
poolIds), confirm at least one device in the pool is active. - Re-run the provisioning request after resolving the underlying bot error.
Bot output Status is false
Cause: The bot completed successfully in Automation Anywhere Control Room but the operation failed in the target system
Resolution:
-
Check the
messageoutput variable returned by the bot for details about the failure. -
Common causes:
- Account not found in target system (for UPDATE, DELETE, ENABLE, DISABLE).
- Duplicate account detected (for CREATE).
- Target system returned a validation error, like invalid attribute value
-
Review the bot execution logs in Automation Anywhere Control Room for more detail:
- Go to Activity > Historical.
- Find the completed activity.
- Check bot log output for the specific error.
-
Correct the underlying data issue and re-run the provisioning request.
aaRunAsUserIds is required but not configured
Cause: No Run As User ID is configured in the connector provisioning settings
Resolution:
- Configure at least one Run As User ID in the connector configuration (
aaRunAsUserIds). -
To find the Run As User ID in Automation Anywhere Control Room:
- Go to Administration > Users.
- Find the user that the bot should run as.
- The user ID is the numeric ID shown in the user details or in the URL.
- Copy the numeric ID and paste it into the SailPoint configuration.
-
Verify that the Run As User has an active device or is assigned to a device pool.
- Ensure the Run As User has permission to execute the configured bots.
Documentation Feedback
Feedback is provided as an informational resource only and does not form part of SailPoint’s official product documentation. SailPoint does not warrant or make any guarantees about the feedback (including without limitation as to its accuracy, relevance, or reliability). All feedback is subject to the terms set forth at https://developer.sailpoint.com/discuss/tos.