Skip to main content
Question

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

  • November 8, 2022
  • 1 reply
  • 7 views

aegman
Contributor
Forum|alt.badge.img+3

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

siennaatsafe
Safer
Forum|alt.badge.img+11

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?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings