Open sphuber opened 1 year ago
Turns out that the information is in the response, just hidden. In the example mentioned above, the label
was missing. But maybe we can extract this from response['detail'][0]['loc'][-1]
but not sure how fixed the format of this response is.
maybe a more generic printing of the detail
field could do the trick?
Currently when submitting a process and the inputs are incorrect (for example
label
is missing, which shouldn't really even be required), the error message is not very useful. We simply get aIt should ideally tell what data is missing.