120027: Unable to perform query operation.

Description

The query specified cannot be performed on the input data.

Solution

The query applied to the input layer is invalid. This may be an unsupported SQL operation or an operation on an invalid field. If the input is a feature service, the query can be verified by creating a definition query on the layer.