Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Alteryx server API - GET /admin/v1/schedules lastError is blank

jsprh
7 - Meteor

I am trying to set up a monitoring tool for our scheduled workflows and am interested in retrieving information on flows that have failed. 

I have connected to the API and can retrieve information, but to avoid having to look at the entire logfile from the API thought I could simply use the path in the title. However, the lastError variable is empty even though some of the flows have failed. 

 

Can anyone help me figure out if the variable behaves as intended or whether I am doing something wrong?

Thank you in advance!

1 REPLY 1
jsprh
7 - Meteor

I figured out a way to use the "messages" variable along with the given status code. For reference, the status code for errors is Status Code 3!