API-1057 : An attribute needs to be groupable or aggregatable

book

Article ID: 220656

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Timeline page in Road map items does not display data.

The following message gets generated in the browser trace of the Developer tool.

"API-1057 : An attribute needs to be groupable or aggregatable to be used in group by or aggregation respectively. Attributes used in ''groupBy'' and ''aggr'' must be present in fields. ''sort'' and ''expand'' cannot be used with ''groupBy''."errorCode "api.invalidGroupByQuery"

Cause

This is because the feature toggle that is meant for aggregation of sql curves i.e. TSV_AGGREGATION_FEATURE_20550 is not enabled which is the reason for API call failure.

Environment

Release : 15.9.2

Component : Clarity Roadmaps

Resolution

Enabled the feature toggle and refreshed the Clarity caches. 

Here is a KB article that provides information on how to enable the toggle feature;

Enable-Disable Sql curves