"Source": "Manual" shows State "Faulted"

Hi All,

I am using POST “https://platform.uipath.com/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs” command to start a process in orchestrator.

And I am getting below response:
@odata.context”: “https://platform.uipath.com/odata/$metadata#Jobs”,
“value”: [
“Key”: “4690cb40-688a-4a08-b751-609********”,
“StartTime”: null,
“EndTime”: null,
“State”: “Pending”,
“Source”: “Manual”,
“SourceType”: “Manual”,
“BatchExecutionKey”: “381e9146-4129-4107-91a9-69c0aca162b0”,
“Info”: null,
“CreationTime”: “2019-09-03T14:52:12.8677108Z”,
“StartingScheduleId”: null,
“ReleaseName”: “HTML_Demo Environment”,
“Type”: “Unattended”,
“InputArguments”: null,
“OutputArguments”: null,
“HostMachineName”: null,
“HasMediaRecorded”: false,
“PersistenceId”: null,
“ResumeVersion”: null,
“StopStrategy”: null,
“Id”: 1351****

But the process is not getting started. Its giving the state faulted as shown in below screenshot:

When running the process via robot its working fine. But Manual source via API is not working. Kindly suggest the solution.

What specific error are you getting? You should be able to hover over the job and then click “Details” to see what exactly went wrong.

Below is the information I am getting in Job detail:

  • Process: HTML
  • Environment: Demo Environment
  • Robot: HTML
  • Machine name: desktop-7himrma
  • Info: Value cannot be null.
    Parameter name: password
  • Start Time: 09/03/2019 3:45:53 PM
  • End Time: 09/03/2019 3:45:53 PM
  • Input Values: null

Output Values: null

  • Has Recording: false

@Anamika15 - how are you authenticating? It looks like it is expecting a password, but the password is null

yes i am authenticating using the Bearer token as mentioned in below document.

But I noticed one thing. When i m trying to authenticate using POST https://platform.uipath.com/api/account/authenticate, its showing error.
“message”: “Invalid credentials, failed to login.”,
“errorCode”: 1000,
“resourceIds”: null
But I am sure my credentials are correct.