# Consul-template service api function returns some hex values

**URL:** <https://discuss.hashicorp.com/t/consul-template-service-api-function-returns-some-hex-values/22185>\
**Category:** Consul\
**Created:** [March 18, 2021, 9:06am UTC](https://discuss.hashicorp.com/t/consul-template-service-api-function-returns-some-hex-values/22185 "2021-03-18T09:06:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchumakov](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/mchumakov/32/9339_2.png) [@mchumakov](https://discuss.hashicorp.com/u/mchumakov)\
**Post date:** [March 18, 2021, 9:06am UTC](https://discuss.hashicorp.com/t/consul-template-service-api-function-returns-some-hex-values/22185/1 "2021-03-18T09:06:14Z")

</div>

Hello everybody,  
inside consul-template I’m using service as such

```auto
{{ service "dc_cvt.patroni-cluster-a|any" }}

```

and this expression returns some strange result:

```auto
[0xc000175930 0xc000175a00]

```

But this expression

```auto
{{ range service "dc_cvt.patroni-cluster-a|any" }}
{{ .Node }}
{{ end }}

```

returns list of nodes taged by dv\_cvt just fine.

Could anybody tell me what’s wrong with expression or where to look to solve this issue?
