Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Error: The remote server returned an error: (403) Forbidden, while running an automation job.
Solution:
While running an automation job from the Command Line or Windows task Scheduler, the following error can be seen in the Command Line/Spotfire.Dxp.Automation.ClientJobSender.exe.log.
System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at Spotfire.Dxp.Automation.JobBuilder.SpotfireServerJobExecutor.StartJob(String jobFileContent, String jobFilePath) at Spotfire.Dxp.Automation.ClientJobSender.JobServiceHandler.StartJob(String jobFileContent, String path) at Spotfire.Dxp.Automation.ClientJobSender.JobExecutionHandler.Run(CommandLineManager cmd)Make sure that the user account mentioned in the "Spotfire.Dxp.Automation.ClientJobSender.exe.config" file, which is used to run the automation job is a part of "Automation Services" group. Below is a screenshot showing the user account used in the "Spotfire.Dxp.Automation.ClientJobSender.exe.config".
Note: To avoid other issues, make sure that this account has access to all the library items being used in the Automation task.
Comments
0 comments
Article is closed for comments.