# Error fetching fields for index pattern abcd-\* (ID: 9dffc420-9ea5-11ec-93d5-xxxxxxxxxx)

**URL:** https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552
**Category:** Kibana
**Created:** [May 12, 2022, 10:18am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552 "2022-05-12T10:18:35Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![homesh\_joshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/homesh_joshi/32/104999_2.png) [@homesh\_joshi](https://discuss.elastic.co/u/homesh_joshi)
#### Post date: [May 12, 2022, 10:18am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/1 "2022-05-12T10:18:35Z")

</div>

Hi ,

I am using kibana 7.17.0 , started getting this error "Error fetching fields for index pattern abcd-\* (ID: 9dffc420-9ea5-11ec-93d5-xxxxxxxxxx) undefined Response" from today. it was working from last 2 months. it points to \_request/\<@[https://x.x.x.x/46534/bundles/plugin/dataViews/kibana/dataViews.plugin.js:1:37078](https://x.x.x.x/46534/bundles/plugin/dataViews/kibana/dataViews.plugin.js:1:37078)

I have gone through other post but seems I am the only one getting "undefined Response".

Please suggest how to troubleshoot this error.

Thanks,  
Homesh

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [May 12, 2022, 9:23pm UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/2 "2022-05-12T21:23:20Z")

</div>

Hello Homesh,

Can you please query your Elasticsearch and see if you have data?  
Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![homesh\_joshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/homesh_joshi/32/104999_2.png) [@homesh\_joshi](https://discuss.elastic.co/u/homesh_joshi)
#### Post date: [May 13, 2022, 4:20am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/3 "2022-05-13T04:20:33Z")

</div>

Hi Bhavya,

Yes I have the data, as I also have more specific patterns which are working e.g. abcd-123-\* or abcd-456-\* is working. also if I try to create new pattern like abcd\* it showing me loading image for timestamp field.

 ![Screenshot 2022-05-13 at 9.34.37 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6e6db8fdd340c6c9926444e27433469623f54b7.png)

 ![Screenshot 2022-05-13 at 9.40.33 AM](https://us1.discourse-cdn.com/elastic/original/3X/9/0/90f2fed77b9b02c78d6746519ef0f1b880f8d8bd.png)

 ![Screenshot 2022-05-13 at 9.46.56 AM](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fab6db2153791afbff5bc0125d130a55965f9faf.png)

Thanks,  
Homesh

---

<div class="post-metadata">

### Author: ![homesh\_joshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/homesh_joshi/32/104999_2.png) [@homesh\_joshi](https://discuss.elastic.co/u/homesh_joshi)
#### Post date: [May 16, 2022, 8:56am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/4 "2022-05-16T08:56:05Z")

</div>

Hi All,

Kindly guide on troubleshooting this issue.

Thanks,  
Homesh

---

<div class="post-metadata">

### Author: ![homesh\_joshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/homesh_joshi/32/104999_2.png) [@homesh\_joshi](https://discuss.elastic.co/u/homesh_joshi)
#### Post date: [May 16, 2022, 10:22am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/5 "2022-05-16T10:22:22Z")

</div>

Hi All,

I enabled debug log in kibana below is the log which return 404

"type":"response","@timestamp":"2022-05-16T10:14:37+00:00","tags":,"pid":7,"method":"get","statusCode":404,"req":{"url":"/api/index\_patterns/\_fields\_for\_wildcard?pattern=abcd-%2A&meta\_fields=\_source&meta\_fields=\_id&meta\_fields=\_type&meta\_fields=\_index&meta\_fields=\_score","method":"get","headers":{"host":"x.x.x.x","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0","accept":"_/_","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br","referer":"[https://x.x.x.x/dashboard1/app/management/kibana/indexPatterns/patterns/xxxxxx-11ec-93d5-b1e96804a3e4","content-type":"application/json","kbn-version":"7.17.0","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","x-forwarded-for":"x.x.x.x","x-forwarded-host":"x.x.x.x","x-forwarded-server":"x.x.x.x","connection":"Keep-Alive"},"remoteAddress":"x.x.x.x","userAgent":"Mozilla/5.0](https://x.x.x.x/dashboard1/app/management/kibana/indexPatterns/patterns/xxxxxx-11ec-93d5-b1e96804a3e4%22,%22content-type%22:%22application/json%22,%22kbn-version%22:%227.17.0%22,%22sec-fetch-dest%22:%22empty%22,%22sec-fetch-mode%22:%22cors%22,%22sec-fetch-site%22:%22same-origin%22,%22x-forwarded-for%22:%22x.x.x.x%22,%22x-forwarded-host%22:%22x.x.x.x%22,%22x-forwarded-server%22:%22x.x.x.x%22,%22connection%22:%22Keep-Alive%22%7D,%22remoteAddress%22:%22x.x.x.x%22,%22userAgent%22:%22Mozilla/5.0) (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0","referer":"[https://x.x.x.x/dashboard1/app/management/kibana/indexPatterns/patterns/xxxxx-9ea5-11ec-93d5-b1e96804a3e4"},"res":{"statusCode":404,"responseTime":41,"contentLength":410},"message":"GET](https://x.x.x.x/dashboard1/app/management/kibana/indexPatterns/patterns/xxxxx-9ea5-11ec-93d5-b1e96804a3e4%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:41,%22contentLength%22:410%7D,%22message%22:%22GET) /api/index\_patterns/\_fields\_for\_wildcard?pattern=abcd%2A&meta\_fields=\_source&meta\_fields=\_id&meta\_fields=\_type&meta\_fields=\_index&meta\_fields=\_score 404 41ms - 410.0B"}

What could be the possible reasons ?

Thanks,  
Homesh

---

<div class="post-metadata">

### Author: ![homesh\_joshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/homesh_joshi/32/104999_2.png) [@homesh\_joshi](https://discuss.elastic.co/u/homesh_joshi)
#### Post date: [May 18, 2022, 7:40am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/6 "2022-05-18T07:40:00Z")

</div>

I Resolved this with a workaround by creating a pattern as abcd-1\* as all the indexes starts with this pattern. However I still don't know why abcd-\* do not able to find the fields from selected indexes.  
Can you please help in finding the reason for this.

Thanks,  
Homesh

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [May 25, 2022, 3:22pm UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/7 "2022-05-25T15:22:07Z")

</div>

@matw / @mattkime any ideas? Thanks!

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [May 30, 2022, 3:04am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/8 "2022-05-30T03:04:30Z")

</div>

Hello @homesh_joshi -

> [@homesh\_joshi](#):
>
> However I still don't know why abcd-\* do not able to find the fields from selected indexes.

It would be worth getting to the bottom of this. Could you capture a har file that includes the `_fields_for_wildcard` request?

You could also try [Field capabilities API | Elasticsearch Guide [7.17] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/search-field-caps.html) with the index pattern string you're attempting. It should fail in the same way. A har file might be helpful here too.

---

<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: [June 27, 2022, 3:04am UTC](https://discuss.elastic.co/t/error-fetching-fields-for-index-pattern-abcd-id-9dffc420-9ea5-11ec-93d5-xxxxxxxxxx/304552/9 "2022-06-27T03:04:36Z")

</div>

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