Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch bad input params to prefect API #414

Open
philipmac opened this issue Dec 20, 2023 · 2 comments
Open

catch bad input params to prefect API #414

philipmac opened this issue Dec 20, 2023 · 2 comments

Comments

@philipmac
Copy link
Member

currently if a bad parameter is sent to workflow, API responds with 200 and "silently" fails.

Ideally we'll send back a fail.

@annshress
Copy link
Collaborator

annshress commented Dec 20, 2023

The request does not reach the workflows. We will need to explore more on where the request can be interfered with.

@annshress
Copy link
Collaborator

One possible option is to disable parameters validation:

https://docs.prefect.io/latest/concepts/flows/#flow-settings

Afterwards, adding a custom param validation step at the start of every flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants