Skip to main content
Kofax

Error 401 or 404 when getting DAS mapping, DB mapping or accessing Password Store

3014815

Question / Problem: 

When running a robot from Management Console, it runs into errors 401 or 404 when attempting to use a Desktop Automation Service (DAS) mapping, database mapping or lookup a password in Password store.

Answer / Solution: 

All mappings and Password store are located on the Management Console.

When a robot is started, it's actually sent to a RoboServer to run. If the robot needs a DAS/DB mapping or has to access Password store, it will have to go back to the Management Console to get this information. The Management Console that it will go to is the Management Console to which the RoboServer is registered.

Therefore, errors 401 or 404 received when a robot is trying to get DAS/DB mapping or access password store are directly related to the connection between the RoboServer and its Management Console.

Troubleshooting steps
  1. Find out on which RoboServer did the robot run, when the error was logged. The server name can be found in the Robot Run logs (Management Console > Logs tab)
  2. Find out to which Management Console is the RoboServer registering.
    There are two locations where the Management Console can be specified:
    • In the RoboServer Settings - to check this, open RoboServer Settings with the user that runs the process (e.g. the logon user, for a windows service). The MC information is on the "General" tab.
    • As a parameter in the RoboServer start command (-mcUrl) - For more information: all parameters are listed in the Administrator Guide > Runtime > RoboServer > Start RoboServer.

      Note: to simplify configuration, use only one of these methods, not both.
  3. Error 401 (Unauthorized) is usually related to the credentials for the MC (wrong credentials, expired, wrong password etc)
  4. Error 404 (Not found) is usually related to the MC url (e.g. wrong url, mis-spelled) or missing mapping (e.g. the robot is started from MC1 where the mappings exist, but the RoboServer registers to a second MC where these mappings don't exist)

 

Applies to:  

Product Version
RPA 10.0 and later

 

 

  • Was this article helpful?