https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Andreas

07/08/2022, 9:51 AM
Hi! Prefect 2.0 has the ability to enforce pydantic checks for flow input which is a really nice feature. So, when we pass invalid parameters to a flow it goes straight from a pending state to a failed state as expected and we get an error in the form of:
Copy code
09:47:51.189 | INFO    | prefect.engine - Flow run 'shiny-falcon' received invalid parameters and is marked as failed
However this information is quite limited. Is there a way to get more information which of the parameters failed to pass the pydantic check?
1
👀 1
a

Anna Geller

07/08/2022, 11:37 AM
I investigated and I agree that this would be valuable to know why the validation didn't pass @Marvin open "In the flow run Failed-state message, show which parameters didn't pass pydantic validation"
❤️ 1
a

Andreas

07/08/2022, 1:20 PM
Thank you Anna 💯
🙌 1