# Error in creating Index patterns for Join Field

**URL:** <https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554>\
**Category:** Kibana\
**Created:** [November 7, 2021, 7:16am UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554 "2021-11-07T07:16:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![painless\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/painless_elastic/32/94652_2.png) [@painless\_elastic](https://discuss.elastic.co/u/painless_elastic)\
**Post date:** [November 7, 2021, 7:16am UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554/1 "2021-11-07T07:16:50Z")

</div>

Hi,  
I am following this tutorial [Parent ID query | Elasticsearch Guide [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-parent-id-query.html)

After creating an index and inserting documents, the search is working fine both in my local and dev server. But when I am creating an index pattern and going to search in kibana (analytics-\> discovery), in local it's working fine, but in dev server, it's giving error - **unsupported\_operation\_exception: Cannot fetch values for internal field [parent].**

The only difference I can figure out is in index patterns, that the parent field is showing a type of **parent** in my local, but in dev, it's showing as **unknown** type.

Local-

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/3/937479d106a08187701e9b711de84ad5fb3392a4.png)

Dev server-

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8cbc16128ce0cfa1b76f92859e692925a23dd630.png)

Can anyone explain to me, what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![painless\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/painless_elastic/32/94652_2.png) [@painless\_elastic](https://discuss.elastic.co/u/painless_elastic)\
**Post date:** [November 8, 2021, 1:50pm UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554/2 "2021-11-08T13:50:05Z")

</div>

@dadoonet any thoughts ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 9, 2021, 6:46am UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554/3 "2021-11-09T06:46:25Z")

</div>

No idea.

May be check both mappings and compare them.  
If they are identical and you are using the same exact version of the stack, I'd move the question to #elastic-stack:kibana .

Also please be patient in waiting for responses to your question and refrain from pinging multiple times asking for a response or opening multiple topics for the same question. This is a community forum, it may take time for someone to reply to your question. For more information please refer to the [Community Code of Conduct](https://www.elastic.co/community/codeofconduct) specifically the section "Be patient". Also, please refrain from pinging folks directly, this is a forum and anyone that participates might be able to assist you.

If you are in need of a service with an SLA that covers response times for questions then you may want to consider talking to us about a [subscription](https://www.elastic.co/subscriptions).

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

---

<div class="post-metadata">

**Author:** ![painless\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/painless_elastic/32/94652_2.png) [@painless\_elastic](https://discuss.elastic.co/u/painless_elastic)\
**Post date:** [November 18, 2021, 12:43pm UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554/4 "2021-11-18T12:43:39Z")

</div>

looks like we need to move this under #elastic-stack:kibana , no response till now. ☹

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 18, 2021, 2:04pm UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554/5 "2021-11-18T14:04:42Z")

</div>

I moved the question.

---

<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:** [December 16, 2021, 2:04pm UTC](https://discuss.elastic.co/t/error-in-creating-index-patterns-for-join-field/288554/6 "2021-12-16T14:04:56Z")

</div>

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