Troubleshoot bot run issue

Issue: I'm unable to deploy a bot because I get the following – Unexpected error setting up a new user session.

Cause:
Most often, this error is caused by invalid device credentials.
Solution:
Confirm the device is registered and connected.
  1. Select Manage > Devices from the Control Room.
  2. Confim that the Status column shows Connected for the relevant device.
Confirm that the device username and password are correct.
  1. Select your profile on the left pane and select My Settings > My profile.
  2. Verify the device username.

    Depending on how the device is configured within the network, you might need to prepend it with the domain name. For example, domainname\firstname.lastname.

  3. Verify the device password.

Other resources