How to resolve when the connection of Robot with Orchestrator Failed with Error "An error has occurred"?
Issue Description: Robot connection failed with Error : “An Error has occured”. in version 20.4 Studio/Robot or higher. Error : System.InvalidOperationException: No authentication handler is registered for the scheme ‘Windows’.
Resolution: Capture the Event Viewer logs in the Orchestrator machine to understand the exception when the API call is made to the server for the connection
The registered schemes are: UiRobot, BasicAccessToken, UiRobotAccessToken, IdentityUserAccessToken, LicenseKey, Identity.Application, Identity.External, Identity.TwoFactorRememberMe, Identity.TwoFactorUserId, UiPath.Windows, SystemOpenIdConnect.
Kindly invoke AddAuthentication().AddSomeAuthHandler