Discussion Forum

Error while aggregate

Hi Team,

I’m pretty new here, need some urgent help.
I’m getting below error while doing any aggregate (be it count , mean, group or anything) but without aggregate its working. Can anyone please help me to solve?

Working perfectly for below:
match $x isa Entity2; get $x;
getting error for below:
match $x isa Entity2; aggregate count $x;

@daniel