# Hybrid search giving errors about missing vectorizer, but objects are vectorized correctly

**URL:** <https://forum.weaviate.io/t/hybrid-search-giving-errors-about-missing-vectorizer-but-objects-are-vectorized-correctly/2092>\
**Category:** Support\
**Tags:** developer-experience, wcs\
**Created:** [April 23, 2024, 2:41am UTC](https://forum.weaviate.io/t/hybrid-search-giving-errors-about-missing-vectorizer-but-objects-are-vectorized-correctly/2092 "2024-04-23T02:41:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![weisisheng](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/weisisheng/32/1119_2.png) [@weisisheng](https://forum.weaviate.io/u/weisisheng)\
**Post date:** [April 23, 2024, 2:41am UTC](https://forum.weaviate.io/t/hybrid-search-giving-errors-about-missing-vectorizer-but-objects-are-vectorized-correctly/2092/1 "2024-04-23T02:41:52Z")

</div>

### Description

Using the old typescript sdk to connect /query to WCS, I get an error about vectorizer missing. However, the data upload done beforehand was successful and I can query / render the vectors for each object. Perhaps I am not understanding hybrid settings? Please advise.

Error:  
  
// sample code

```
  .withHybrid({
    // query: parsed.data.q as string,
    query: "title", <-- one of the class properties
  })

```

ClientError: get vector input from modules provider: VectorFromInput was called without vectorizer:

### Server Setup Information

- Weaviate Server Version: Latest WCS
- Deployment Method: WCS
- Multi Node? Number of Running Nodes: 1
- Client Language and Version: Typescript

### Any additional Information

Should have added using weaviate-ts-client version 2.1.1 and next.js 14.2.1 to do the queries. Oddly they work when I am directly querying the WCS playground and adding the openai header there.

---

<div class="post-metadata">

**Author:** ![weisisheng](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/weisisheng/32/1119_2.png) [@weisisheng](https://forum.weaviate.io/u/weisisheng)\
**Post date:** [April 23, 2024, 3:49am UTC](https://forum.weaviate.io/t/hybrid-search-giving-errors-about-missing-vectorizer-but-objects-are-vectorized-correctly/2092/2 "2024-04-23T03:49:13Z")

</div>

For some reason, headers is not being passed from above;

Here is the client instantiation:

const client: WeaviateClient = weaviate.client({  
scheme: “https”,  
host: “[https://foo-1.us-east1.gcp.weaviate.cloud](https://foo-1.us-east1.gcp.weaviate.cloud)”,  
apiKey: new ApiKey(“foo123131231231”),  
headers: {“X-Openai-Api-Key”: “sk-foo3432423423”}  
});

Here is the error:

ClientError: get vector input from modules provider: VectorFromInput was called without vectorizer: {“response”:{“data”:{“Get”:{“Foo2”:null}},“errors”:[{“locations”:[{“column”:6,“line”:1}],“message”:“get vector input from modules provider: VectorFromInput was called without vectorizer”,“path”:[“Get”,“Foo2”]}],“status”:200,“headers”:{}},“request”:{“query”:“{Get{Foo2(hybrid:{query:"Developer",alpha:0.5,properties:["title","companyName"],targetVectors:["title","companyName"]},limit:10){postId title companyName created\_at}}}”}}

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [April 23, 2024, 1:44pm UTC](https://forum.weaviate.io/t/hybrid-search-giving-errors-about-missing-vectorizer-but-objects-are-vectorized-correctly/2092/3 "2024-04-23T13:44:00Z")

</div>

hi @weisisheng !

This is strange.

This seems to be a client message, complaining that you have not passed the vector parameter.

So in a hybrid search, if you pass only a query, it will be used for both the bm25 search, and have it vectorized to do the vector search part.

You can also pass a vector yourself, as described here:

> **[Hybrid search | Weaviate - Vector Database](https://weaviate.io/developers/weaviate/search/hybrid#specify-a-vector)**
>
> Hybrid search combines results of a vector search and a keyword (BM25F) search. You can set the weights or the ranking method.

Maybe there is a code before passing a null value as vector parameter?

🤔

---

<div class="post-metadata">

**Author:** ![weisisheng](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/weisisheng/32/1119_2.png) [@weisisheng](https://forum.weaviate.io/u/weisisheng)\
**Post date:** [April 24, 2024, 12:11am UTC](https://forum.weaviate.io/t/hybrid-search-giving-errors-about-missing-vectorizer-but-objects-are-vectorized-correctly/2092/4 "2024-04-24T00:11:19Z")

</div>

Adding the vector helped me to get more insights into the issue. Thanks!
