Support > Forums > OpenBots Server > GetCredential with status BadRequest - Error while executing a Job
Hi, I am trying to run a job manually, I am getting the following error
Log Message: Error occurred while executing the job; ErrorMessage = System.InvalidOperationException: Exception when calling CredentialsApi.GetCredentials: Error calling GetCredential with status BadRequest: One or more validation errors occurred. at OpenBots.Server.SDK.HelperMethods.CredentialMethods.GetCredentials(UserInfo userInfo, String credentialId, Int32 count) at OpenBots.Service.Client.Manager.Execution.ExecutionManager.ExecuteJob() at OpenBots.Service.Client.Manager.Execution.ExecutionManager.NewJobsCheckTimer_Elapsed(Object sender, ElapsedEventArgs e) 2
The sever is running on https with Self-signed certificate. Also the Agent is connect to the server. Kindly let me know I am doing anything wrong. Thanks
This forum has 65 topics, 191 replies, and was last updated 9 months ago by Ghouse Shaik
Hello Satish,
As you mentioned, Server v1.5.0 and higher require a secure connection to access credentials.
Please, make sure the agent is connected to the https binded URL site. To avoid confusion, delete the localhost bind to OpenBots server from the IIS manager. Also, the active directory credentials should reference the username used to login to the Agent hosted machine.
You are not authorized to reply, please click here to login and add your reply to this topic.