# \[Question\] Error: Can't get standard auto vectorization to run?

**URL:** <https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254>\
**Category:** Support\
**Tags:** technical\
**Created:** [September 23, 2024, 12:58am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254 "2024-09-23T00:58:49Z")\
**Posts on this page:** 8\
**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:** [September 23, 2024, 12:58am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/1 "2024-09-23T00:58:49Z")

</div>

Running a local docker container. I’ve got a typescript script (v3) creating a table & adding one toy example. No matter what I try, when I query on wcs, it is showing no auto vectorization. I know the openai key is good since I use it in other apps, and I include it both the docker compose and the script itself. The inserted text shows but vectors for each are empty. I’ve cleared the local data in WCS without improvement.

```javascript
const jdCollectionSchema: CollectionConfigCreate = {
  name: "JD",
  vectorizers: [
    vectorizer.text2VecOpenAI({
      name: "basics",
      model: "text-embedding-3-small",
      sourceProperties: ["basics"],
      vectorizeCollectionName: false,
    }),
    vectorizer.text2VecOpenAI({
      name: "best_practices",
      sourceProperties: ["best_practices"],
      vectorizeCollectionName: false,
    }),
    vectorizer.text2VecOpenAI({
      name: "red_flags",
      sourceProperties: ["red_flags"],
      vectorizeCollectionName: false,
    }),
  ],
  properties: [
    {
      name: "basics",
      dataType: "text",
      vectorizePropertyName: false,
      tokenization: tokenization.LOWERCASE,
    },
    {
      name: "best_practices",
      dataType: "text",
      vectorizePropertyName: false,
      tokenization: tokenization.LOWERCASE,
    },
    {
      name: "red_flags",
      dataType: "text",
      vectorizePropertyName: false,
      tokenization: tokenization.LOWERCASE,
    },
    {
      name: "createdAt",
      dataType: "date",
    },
  ],
};

```

What am I missing?

docker image 1.26.4, dotenv 16.4.5, weaviate-client 3.0.8

---

<div class="post-metadata">

**Author:** ![sebawita](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/sebawita/32/5_2.png) [@sebawita](https://forum.weaviate.io/u/sebawita)\
**Post date:** [September 23, 2024, 8:18am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/3 "2024-09-23T08:18:55Z")

</div>

Hi @weisisheng,

Can you share the code you use to:

- connect (please redact your URLs/API keys),
- insert data,
- query?

In your configuration, you have 3 vectorizers. So, when you query, you need to provide the name of the vector you are searching on, like this:

```javascript
const jd = client.collections.get('JD');

const result = await myNVCollection.query.nearText('your query', {
  targetVector: 'basics',
  limit: 2,
})

```

---

<div class="post-metadata">

**Author:** ![sebawita](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/sebawita/32/5_2.png) [@sebawita](https://forum.weaviate.io/u/sebawita)\
**Post date:** [September 23, 2024, 8:23am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/4 "2024-09-23T08:23:32Z")

</div>

> [@weisisheng](#):
>
> when I query on wcs, it is showing no auto vectorization.  
> …
> 
> docker image 1.26.4, dotenv 16.4.5, weaviate-client 3.0.8

To be on a safe side.  
Do you run Weaviate with Docker or in Weaviate Cloud?

---

<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:** [September 23, 2024, 9:44am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/5 "2024-09-23T09:44:12Z")

</div>

I’ve got one collection which I’ve had on WCS for a few months Completely separate from this new project.

The one I am trying to insert is on docker. I just found the ability to query local from WCS today.

Let me do some snipping and I will send the rest.

Thanks!

---

<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:** [September 23, 2024, 9:52am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/6 "2024-09-23T09:52:39Z")

</div>

# connection

```javascript
// Connect to local Weaviate database
  const weaviateClient = await weaviate.connectToLocal({
    headers: {
      "X-Cohere-Api-Key": process.env.COHERE_API_KEY || "",
      "X-OpenAI-Api-Key": process.env.OPENAI_APIKEY || "",
    },
  });
  
  
  // insert data 
  // Insert the example note into the note collection
  const jdCollection = weaviateClient.collections.get("JD");
  await jdCollection.data.insert(exampleJD);

```

```graphql
  // query on WCS
  {
  Get {
    JD {
      basics
      best_practices
      red_flags
      createdAt
      _additional {
        vector
      }
    }
  }
}

```

# response

```auto
{
  "data": {
    "Get": {
      "JD": [
        {
          "_additional": {
            "vector": []
          },
          "basics":
...

```

---

<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:** [September 24, 2024, 3:08am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/7 "2024-09-24T03:08:43Z")

</div>

Set up a new openai api key, fixed the process.env reference for a typo, and narrowed the “vectorization” to one field, still no vectors.

```auto
  vectorizers: [
    vectorizer.text2VecOpenAI({
      name: "basics_vector",
      sourceProperties: ["basics"],
      model: "text-embedding-3-large",
      dimensions: 1024,
    }),
  ],

```

# query

```auto
{
	Get {
		JobDescOpenAI {
			basics
			best_practices
			red_flags
			createdAt
			_additional {
				vector
			}
		}
	}
}

```

stumped for sure…

#Support

---

<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:** [September 25, 2024, 6:59am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/8 "2024-09-25T06:59:03Z")

</div>

See this post for the answer: [Explain \_additional vector returned response like i am 5](https://forum.weaviate.io/t/explain-additional-vector-returned-response-like-i-am-5/4291)

---

<div class="post-metadata">

**Author:** ![malgamves](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/malgamves/32/5970_2.png) [@malgamves](https://forum.weaviate.io/u/malgamves)\
**Post date:** [October 7, 2024, 10:00am UTC](https://forum.weaviate.io/t/question-error-cant-get-standard-auto-vectorization-to-run/4254/9 "2024-10-07T10:00:03Z")

</div>

Thanks for linking to the fix, the docs team is working on adding more information for that part of the documentation.
