Hi all! I have registered a flow without a schedul...
# ask-community
j
Hi all! I have registered a flow without a schedule and can trigger it fine from the Prefect Cloud UI. When I try to create a schedule for it (in Prefect cloud UI) and enable it for the flow, it does not recognise the schedule I have just created. Also if I refresh the page I can see the schedule “disappeared”, like it has never been saved. Has anyone experienced this or is there something I am missing?
After creating the schedule I am always getting this message: “There was a problem created your schedule, please try again shortly.”
m
Hello Martins! I have difficulties to reproduce this error. Can you provide more information. Run
prefect diagnostics
, show simplified redacted flow you are running. Are you passing any parameters? Is it interval or cron schedule?
j
im just trying to create a cron schedule
m
Can you share cron expression?
j
it is not persisted after creation and I get that exact error message in “broken” english 🙂
something like 2 0 * * *
everyday 2 minutes after midnight
this seems to have nothing to do with the flow itself
alright I think I found the problem
i was not changing anything in the parameters and there were 2 parameters that had default value = null. I just tested deleting the “null” value that shows up by default and this seems to work. Although it seems you should look into it since the flow runs fine with the default values. Also the error message could be nicer.
m
Yes, I’ll open an issue in UI repo. Thank you for raising this issue
j
Great! you are welcome!
n
Hi Martins. We have released an update for this and now you shouldn't see any issues when creating schedules from the UI