I get the error "VectorFromParams was called without any known params present"

I have created a cluster and I am trying to query it with the following:

{
  Get {
    SBCZoning (
      ask: {
        question: "What are the setbacks for a lot in R-1 zone (Single Family Residential 15 acres gross area)?",
        properties: ["content"]
      },
      limit: 2
    ) {
      content
    }
  }
}

and also I pass in an openai key.
but I just get the following error:

{
  "data": {
    "Get": {
      "SBCZoning": null
    }
  },
  "errors": [
    {
      "locations": [
        {
          "column": 5,
          "line": 3
        }
      ],
      "message": "VectorFromParams was called without any known params present",
      "path": [
        "Get",
        "SBCZoning"
      ]
    }
  ]
}

This used to work. has something changed?

Hi @simondpalmer!

Sorry for the delay here. This only happens in WCS console, right?

Can you confirm if this works?
Running that same GQL query, using for example the python client, something like:

import weaviate
import os

client = weaviate.Client(
    "https://yourcluster.weaviate.network",
    auth_client_secret=weaviate.AuthApiKey("your-api-key"),
    additional_headers={
        "X-OpenAI-Api-Key": os.environ["OPENAI_API_KEY"]  # Replace w/ your OPENAI API key
    }
)


client.query.raw('''{
  Get {
    SBCZoning (
      ask: {
        question: "What are the setbacks for a lot in R-1 zone (Single Family Residential 15 acres gross area)?",
        properties: ["content"]
      },
      limit: 2
    ) {
      content
    }
  }
}''')

That way we can isolate this issue.

Thanks!