Question

Async jobs don't notify when failing because of invalid parameters

  • 8 November 2022
  • 1 reply
  • 2 views

Badge +1

Hi,

Is there a way to get FME Server to notify a topic when a job fails to start from the queue because of invalid or missing parameters?

 

We submit an async job, which returns 202 and a job number. It sits in the queue for a while, and then fails when it comes up to be run.

Submitting sync jobs with invalid parameters return a 422 immediately, along with an error message.

 

The job doesn't run, so doesn't trigger start/stop scripts, and doesn't appear to notify the Failure topic either.

 

I've been searching around for a while but haven't found anything helpful yet.

 

Thanks,

Andy


1 reply

Badge +9

Hi @Andy E​ ,

I tried testing this out on a 2022.2 server and I believe everything is working okay.

From the REST Call, I didn't provide the necessary parameters but provided a failure topic.

2022-11-10_15-23-14The failure topic was triggered.

2022-11-10_15-25-40 

What version are you using?

Reply