Hi, UI requires input to parameters even if it is optional. It was working before
👀 1
d
Dylan
06/06/2024, 8:27 PM
Hey Patrick, would you mind sharing the deployment ID here? A screenshot of your flow's parameter definition in python would also be helpful
Meantime, I believe you can uncheck "Validate parameters before submitting" to submit
p
Patrick Tan
06/07/2024, 1:23 PM
DeplomentID is a6e19809-fc48-4ebf-9be6-d0a63419a801
Patrick Tan
06/07/2024, 1:25 PM
When i unchecked "Validate parameters before submitting", got this error:
Patrick Tan
06/07/2024, 1:26 PM
I wonder if I need to upgtae prefect version and redeploy
d
Dylan
06/07/2024, 4:12 PM
That's definitely an option
c
Craig Harshbarger
06/07/2024, 4:48 PM
It looks like possibly the "enforce parameter schema" option is enabled for this particular deployment as well. Might need to disable that.
Though I'm still wondering why the optional parameter is failing validation at all 🤔
d
Dylan
06/10/2024, 6:06 PM
Hey Patrick, we actually encountered this issue ourselves. By any chance do you have that parameter typed as