Question

Error with HTTP Caller when running Workspace from Command Line (Jenkins)

  • 14 February 2023
  • 2 replies
  • 5 views

Badge

I have a pretty basic workbench with a HTTP Caller which processes the downloaded data to insert. When I open the Workbench it works perfectly. I preset all the input parameters so I do not need to pass them into the model.

However when I try and run the workspace from command line, specifically in Jenkins, I use the following command:

"C:\\Program Files\\FME\\fme.exe" "\\\\xxx\\xxxx\\MY_MODEL.fmw" 

 

I get the following error:

HTTPCaller_4_<Rejected>: Termination Message: 'HTTPCaller_4 output a <Rejected> feature. To continue translation when features are rejected, change 'Workspace Parameters' > Translation > 'Rejected Feature Handling' to 'Continue Translation''

Program Terminating

 

Any idea what would cause the http caller to fail only when run from command line?

 

Any help would be greatly appreciated!


2 replies

Userlevel 4

Try connecting a Logger followed by a Terminator to the Rejected port of the HTTPCaller_4. Please post the logged messages here.

Badge

Hi David. With the logger I was able to resolve the issue. Thanks for your reply and I'm very grateful for your help

Reply