You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While creating a job, if the user tries to specify scope in a custom rule even though field_name, by_field_name, over_field_name or partition_field_name, the response root cause error message is:
Invalid detector rule: scope field 'someFieldName' is invalid; select from []
Note that the error reason offers an empty list as a choice for scope fields.
A better reason should be returned instead, stating that scope cannot be specified because the detector doesn't use a field_name, by_field_name, over_field_name or partition_field_name.
Steps to reproduce
Send an API request to create a job (detector with no fields and custom rule with scope specified)
Description
Found in 6.4.0-BC1
While creating a job, if the user tries to specify
scope
in a custom rule even thoughfield_name
,by_field_name
,over_field_name
orpartition_field_name
, the response root cause error message is:Note that the error reason offers an empty list as a choice for scope fields.
A better reason should be returned instead, stating that
scope
cannot be specified because the detector doesn't use afield_name
,by_field_name
,over_field_name
orpartition_field_name
.Steps to reproduce
The text was updated successfully, but these errors were encountered: