# MatchList not works with query "label.\*\*\*\*"

**URL:** <https://forum.heroiclabs.com/t/matchlist-not-works-with-query-label/3335>\
**Category:** Runtime Framework\
**Tags:** server-framework, golang, matches\
**Created:** [December 12, 2022, 12:48pm UTC](https://forum.heroiclabs.com/t/matchlist-not-works-with-query-label/3335 "2022-12-12T12:48:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmytro\_kolbasa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/dmytro_kolbasa/32/1463_2.png) [@dmytro\_kolbasa](https://forum.heroiclabs.com/u/dmytro_kolbasa)\
**Post date:** [December 12, 2022, 12:48pm UTC](https://forum.heroiclabs.com/t/matchlist-not-works-with-query-label/3335/1 "2022-12-12T12:48:36Z")

</div>

I’m trying to implement Find or Create logic for authoritative matches.  
Each match has json label like {“bet”:{“entry\_fee”:800,“point\_value”:10},“currecy”:“INR”,“game\_id”:0,"game\_mode:“fast”,“is\_open”:true,“max\_players:2"”}  
Label is created with json.Marshal() so it should be a valid json.  
But, when I try to make

```auto
	limit := 10
	isAuthoritative := true
	label := ""
    maxSize := 2
	query := "label.is_open:true" \\ at least is_open
    matches, err := nk.MatchList(ctx, limit, isAuthoritative, label, nil, &maxSize, query)

```

matches is empty array, but one match is definitely running.  
If I use

```auto
label := ""
query := "*" 

```

That match will be found so problem is in query syntax.

{Details}

1. Versions: Nakama 3.14, Linux binary
2. Server Framework Runtime language GoLang

---

<div class="post-metadata">

**Author:** ![tom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/tom/32/676_2.png) [@tom](https://forum.heroiclabs.com/u/tom)\
**Post date:** [December 12, 2022, 1:43pm UTC](https://forum.heroiclabs.com/t/matchlist-not-works-with-query-label/3335/2 "2022-12-12T13:43:36Z")

</div>

Hi @dmytro_kolbasa, please can you try changing the `is_open` parameter to either an integer (`0` or `1`) or a string (`"true"`) rather than a boolean value.
