Invalid Authentication token error while connecting to orchestrator

I am trying to connect my UiPath assistant using machine key for community unattended licence. I see the status as connected, unlicensed and on hover i see error as Invalid Authentication Token.

I have tried interactive login multiple times but still see the same error.

On the orchestrator my robot shows as disconnected under my default folder >> Robots. However, under Tenants > Robots > Unattended Sessions , it shows as connected and heartbeating.

Can someone suggest how to get past the invalid authentication token error? Sing out and SIgn in does not work.

Hello @neernitw!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

I have the same issue.

Did you solve it?

What setting did you set on Admin → Organization → Security Settings → Access restriction?

Did you select the Everyone (Default)?

Where is this setting? if it is in the orchestrator, I do not have access to admin and security tools. Though I shouldn’t need to as all my colleauges are connecting their UiPath Assistance just fine.

That setting can be viewed by your cloud organization admin.

What is your UiPath Assistant version?


In UiPath assistant 2023.4 onwards, there is a new feature to open UiPath assistant in debug mode.

Debug mode will provide us the option to open developer console same like browser where we can see the HTML tags, console logs (for scripts, JavaScript errors) and network trace.

Although these debug details are limited, but will be helpful to do initial analysis when customer environment need time to install fiddler tool and troubleshooting needs to check the API calls.

Follow below steps to open UiPath Assistant in debug mode,

  1. Close all existing instance of UiPath Assistant
  2. Open cmd (no need of admin rights) and navigate to UiPath Assistant installation directory. Generally by default it’s “C:\Program Files\UiPath\Studio\UiPathAssistant”
  3. Now run run below command
  • UiPath.Assistant.exe --dbg cli flag
  1. On execution of above command a new instance of UiPath assistant will open. Now bring UiPath assistant screen on focus and press “crtl+shift+i”. It will open developer tool same as browser
  2. Now replicate the issue and check the network trace and console log for troubleshooting.

You can provide the trace here to check.