# Rest Aggregate match query

**URL:** <https://community.parseplatform.org/t/rest-aggregate-match-query/1490>\
**Category:** REST API\
**Created:** [March 23, 2021, 4:18pm UTC](https://community.parseplatform.org/t/rest-aggregate-match-query/1490 "2021-03-23T16:18:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliclark](https://community.parseplatform.org/user_avatar/community.parseplatform.org/oliclark/32/644_2.png) [@oliclark](https://community.parseplatform.org/u/oliclark)\
**Post date:** [March 23, 2021, 4:18pm UTC](https://community.parseplatform.org/t/rest-aggregate-match-query/1490/1 "2021-03-23T16:18:19Z")

</div>

Hi i’m using an aggregate query to $sum values in my data - that’s working fine - but I’d like to filter the data based on the value of a pointer column.

Everything I’ve tried ends in a server error

{too many different attempts to list}

or

no results:  
match = {“whichComp”:{"\_\_type":“Pointer”, “className”: “Competitions”, “objectId”:“BSEvDF9Qna”}}

In normal (non aggregate) queries I’ve had success with where parameters, but I just can’t get match to work.

As you’ve proabably guest I’m a total noob novice when it comes to programming - and am just using parse server as an AppGyuver back end.

Any help would be massively appreciated.

Oli
