The action you are attempting is not permitted with the type of query you have selected. Verify the syntax in your query or change the query type.
For more information, see Supported Query Types.