Hi again. How can I troubleshoot a schedule? I set...
# ask-community
p
Hi again. How can I troubleshoot a schedule? I set up a daily clock/schedule via the Prefect Cloud UI but I don't see any scheduled flows and nothing ran as expected. The schedule is enabled.
m
Hello Pedro! Not sure how to replicate this error. Could you run this query and check if schedule is attached:
Copy code
query {
  flow_group(where: {id: {_eq: "<flow_group_id>"}}) {
    id
    name
    schedule
  }
}
You can find flow group id in the details panel for you your flow
k
Hey @Pedro Machado, did you try toggling the schedule off and on?
p
Hi Kevin. I found the issue. When I toggled the schedule on an off from the flow page, I saw an brief error message at the bottom of the screen saying I was missing a required parameter in the schedule. I added this and toggled off/on and I now see the scheduled flows. I believe the schedule UI is missing some validation at the time the schedule is created. Also, when you try to edit the schedule, it does not preserve the previously entered schedule values so you have to reset that every time.
k
@Marvin open “Validate that Scheduled have Required Parameters” in UI