After updating to UiPath Studio version 2025.0.166, all of our processes have suddenly gone into a faulted state. When I check the Details of any of the failed processes, I receive the following error message:
Raw message: The Client ID or Client Secret is incorrect.
in Main.xaml
at RaiseAlert “Raise Alert”
at Sequence “Sequence”
at TryCatch “Try initializing settings and applications”
at InternalState “Initialization”
at StateMachine “Arch”
at DynamicActivity “Main”
UiPath.CoreIpc.RemoteException: The Client ID or Client Secret is incorrect. at UiPath.Oidc.ClientCredentials.ClientCredentialsService.GetAccessTokenCore(String scope, CancellationToken ct)
at UiPath.Oidc.ClientCredentials.ClientCredentialsService.GetAccessToken(String scope, Boolean refresh, CancellationToken ct)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func`2 exceptionHandler)
This is very strange because just yesterday, these same processes were running without any issues. The problem appears only on the machines where Studio was updated to this specific version.
I would greatly appreciate any help or suggestions. Thank you in advance!
Hey @zaqq there are multiple scenario of this error.
1- try to open your process in the new updated studio.and Analyze your project there is dedicated button or option in the ribbon tab.if any activity package or imports giving this error try to solve that.
2- Raw message: The Client ID or Client Secret is incorrect.- this error is usually come when you are using microsoft activity in your process so there could be possibility your client id or client secret is expired .so try to generate new ID and KEY from Azure portal.
3- if you are running your process through unattended might be the machine key got expired so try to add the same machine. and pass that new machine key in the assistant.
PS- 1 option try to check that and 2- option is the main possibility of that error.
Have the same issue, my robot was connected using machine key, just disconnected and use the client ID and client Secret and was able to start the processes.
I experienced an issue with my unattended machine.
When I log into the machine, I go to UiPath Assistant and then to Preferences. From there, I click on “Disconnect,” choose to connect to the Orchestrator using the client ID, fill in the necessary fields, and click “Connect.”