Error messages for view filters
When you use a view filter to refine the data in a report or cube instance, you may receive HTTP 400 response code and the following error messages:
Invalid input | Error message |
---|---|
Attribute ID is invalid | Invalid attribute id - {attribute ID} |
eEement ID is invalid | Invalid element id - {element ID} |
Metric ID is invalid | Invalid metric id - {metric ID} |
Attribute form ID is invalid | Invalid attribute form id - {attribute form ID} |
Attribute ID and form ID do not match | Index out of range |
Operator is wrong | Invalid operator - (through reference chain: com.microstrategy.rest.model.report.RequestConfig["viewFilter"]) |
Operands's count does not match corresponding operator | There should be {operands's count} operands for operator - {operator} |
Operand's type is invalid | Jackson validation error such as: Could not resolve type id 'attribute2' as a subtype of [simple type, class com.microstrategy.rest.model.filter.viewfilter.Node]: known type ids = [attribute, constant, constants, elements, form, metric] (for POJO property 'operands') at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 6, column: 17] (through reference chain: com.microstrategy.rest.model.report.RequestConfig["viewFilter"]->com.microstrategy.rest.model.filter.viewfilter.LeafExpression["operands"]→java.util.ArrayList[index]) |
Operator does not support operand's type | The operands type combination of {operands' types} is not supported for operator - {input operator} |
Data type for metric is invalid | Invalid constant data type for metric qualification - {dataType} |
Data type for constant in attribute form qualification is invalid | Invalid constant data type for attribute form qualification - {dataType} |
Metric ID does not belong to current report or cube | Failed to find the metric {id} in the report or cube. |
Attribute ID does not belong to current report or cube. | Failed to find the attribute {id} in the report or cube. |