Error using value variable for first: val(somelength)

Hi all,

When I try to filter the first few records using (first: val(length)). I’m getting this error below, But this works when I hardcode with a value (first: 8)

"errors": [
    {
      "message": ": while converting to subgraph: while filling args: strconv.ParseInt: parsing \"leftoverA\": invalid syntax",
      "extensions": {
        "code": "ErrorInvalidRequest"
      }
    }
  ]

Could anyone help me with this?

Thanks!

Where did you saw this usage? I believe that’s not possible.

1 Like