# Failure: \[lang\_ident\_neural\_network\] model could not find non-null numerical array named \[embedding\_vector\]

**URL:** <https://discuss.elastic.co/t/failure-lang-ident-neural-network-model-could-not-find-non-null-numerical-array-named-embedding-vector/284507>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning, ingest-pipeline\
**Created:** [September 17, 2021, 4:58pm UTC](https://discuss.elastic.co/t/failure-lang-ident-neural-network-model-could-not-find-non-null-numerical-array-named-embedding-vector/284507 "2021-09-17T16:58:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccat](https://avatars.discourse-cdn.com/v4/letter/c/77aa72/32.png) [@ccat](https://discuss.elastic.co/u/ccat)\
**Post date:** [September 17, 2021, 4:58pm UTC](https://discuss.elastic.co/t/failure-lang-ident-neural-network-model-could-not-find-non-null-numerical-array-named-embedding-vector/284507/1 "2021-09-17T16:58:52Z")

</div>

Hi,  
I am running an inference processor for language identification on a text field (model ID: lang\_ident\_model\_1).

- The processor works when I test it with sample data using the \_ingest REST endpoint with \_simulate.

- The processor also works on a short text field (an email subject) in my actual data, which I tested by reindexing the documents.

- The processor fails on a longer text field (an email body) in my actual data. It has exactly the same text analyzers configured as the subject field and I can view it in Kibana and perform text search successfully. I captured the failure message in the pipeline and it reads:

```auto
[lang_ident_neural_network] model could not find non-null numerical array named [embedding_vector]

```

I am running Elasticsearch 7.12.0 on a two node cluster. The cluster looks healthy and I see no errors in the logs.  
What could cause such a failure?

---

<div class="post-metadata">

**Author:** ![ccat](https://avatars.discourse-cdn.com/v4/letter/c/77aa72/32.png) [@ccat](https://discuss.elastic.co/u/ccat)\
**Post date:** [September 17, 2021, 8:38pm UTC](https://discuss.elastic.co/t/failure-lang-ident-neural-network-model-could-not-find-non-null-numerical-array-named-embedding-vector/284507/2 "2021-09-17T20:38:21Z")

</div>

I just realised that the problem is probably with the way I am testing my pipeline.  
I am reindexing from an existing index and the inference is failing on a text field that was excluded from \_source in the original mapping.  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html#include-exclude](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html#include-exclude)  
🤨

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 15, 2021, 8:39pm UTC](https://discuss.elastic.co/t/failure-lang-ident-neural-network-model-could-not-find-non-null-numerical-array-named-embedding-vector/284507/3 "2021-10-15T20:39:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
