Error: 2 UNKNOWN: Some variables are used but not defined

I’m running a DQL query on DGraph Cloud without any variables and I’m getting the errorn from the title.

My query:

>  query skuProducts {
>    q(func: type(Product)) @filter(eq(Product.sku, "318-19") OR uid("318-19")) {
>      productId: uid
>      sku: Product.sku
>      currentPrice: Product.currentPrice
>      sellerProfit: Product.sellerProfit
>      owner: Product.owner {
>  			ownerId: uid
>      }
>    }
>  }

Error: Error: 2 UNKNOWN: Some variables are used but not defined
> Defined:[]
> Used:[318-19]

Any ideas on how to make the error go away?

Hi @danielhr
It is because of using - in "318-19". uid function accepts hex number.