https://platform.uipath.com/Api/Account/Authenticate API not working with username/password

https://platform.uipath.com/Api/Account/Authenticate API not working with username/password
Getting below error even for valid credentials, please suggest if UiPath still supports this authentication method or it’s deprecated?

{
“message”: “Invalid credentials, failed to login.”,
“errorCode”: 1000,
“resourceIds”: null
}

API authentication has changed to cloud @nikhilbidwai

Have you followed all the steps in this thread ?

@HareeshMR I am trying to deploy nupkg file on cloud orchestrator using jenkins.
After bit of research I found that UiPath jenkins plugin is using below command to get token which seems to be invoking https://platform.uipath.com/Api/Account/Authenticate because it’s failing with same error.

Get-UiPathAuthToken -URL https://platform.uipath.com -Username -Password

Error:

Get-UiPathAuthToken : The operation returned an error: 1000: Invalid credentials, failed to login.
At line:1 char:1

  • Get-UiPathAuthToken -URL https://platform.uipath.com -Username b.nikh …
  •   + CategoryInfo          : InvalidResult: (:) [Get-UiPathAuthToken], RuntimeException
      + FullyQualifiedErrorId : UiPath.PowerShell.Cmdlets.GetAuthToken
    
    

Get-UiPathAuthToken : Operation returned an invalid status code ‘BadRequest’
At line:1 char:1

  • Get-UiPathAuthToken -URL https://platform.uipath.com -Username b.nikh …
  •   + CategoryInfo          : NotSpecified: (:) [Get-UiPathAuthToken], HttpOperationException
      + FullyQualifiedErrorId : Microsoft.Rest.HttpOperationException,UiPath.PowerShell.Cmdlets.GetAuthToken
1 Like

@HareeshMR do you know if UiPath jenkins plugin supports above cloud login mechanism which you shared?