elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

[ML] User cannot understand the job validation error #187798

Closed bhavyarm closed 4 weeks ago

bhavyarm commented 4 months ago

Kibana version: 8.15.0 BC1

Browser version: Chrome latest

Original install method (e.g. download page, yum, from source, etc.): from staging

Describe the bug: While creating a job, I hit a validation error "[1:192] [bool] failed to parse field [must].". Could we please explain what does this mean to the user? Also it looks like job creation after hitting this error keeps spinning.

Screenshot 2024-07-08 at 3 48 21 PM
elasticmachine commented 4 months ago

Pinging @elastic/ml-ui (:ml)

jgowdyelastic commented 3 months ago

Could you please provide more details on what has been selected in the previous steps? The most useful bit of information would be the request payload and response from the endpoint which is throwing the error. This can be obtained from the browser's network tab.

darnautov commented 2 months ago

hi @bhavyarm, could you please check James' comment above?

bhavyarm commented 2 months ago

Hi, so I tried to reproduce this and failed. Probably have to do with the dataset. When I originally logged the bug I though the error message should be enough for folks to investigate and fix this. Because it should be in the code somewhere. Please feel free to close it. I am sure I will run across it again.

peteharverson commented 4 weeks ago

Closing as unable to reproduce this one. Please reopen if you get a reproducible test case.