# Possible Bug - 13 INTERNAL: ListClosedWorkflowExecutions failed error in WebUI

**URL:** <https://community.temporal.io/t/possible-bug-13-internal-listclosedworkflowexecutions-failed-error-in-webui/3445>\
**Category:** Community Support\
**Tags:** web-ui\
**Created:** [November 22, 2021, 6:32pm UTC](https://community.temporal.io/t/possible-bug-13-internal-listclosedworkflowexecutions-failed-error-in-webui/3445 "2021-11-22T18:32:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayk](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jayk](https://community.temporal.io/u/jayk)\
**Post date:** [November 22, 2021, 6:32pm UTC](https://community.temporal.io/t/possible-bug-13-internal-listclosedworkflowexecutions-failed-error-in-webui/3445/1 "2021-11-22T18:32:17Z")

</div>

Hi,

I get the following in the WebUI when I try and view the workflows:

13 INTERNAL: ListClosedWorkflowExecutions failed: elastic: Error 400 (Bad Request): all shards failed [type=search\_phase\_execution\_exception], root causes: Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [RunId] in order to load field data by uninverting the inverted index. Note that this can use significant memory. [type=illegal\_argument\_exception]

 ![image](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/b/be9367266fb6e48762e1960171c898d230472dac.png)

The UI used to work fine when I was running sample code. I’ve tried to create my own workflow and executed it, but I had forgotten to register the workflow and activities to a worker, so the workflows were created but never executed. After creating those workflows, I’ve seen this error in the UI - not sure if it’s related to the above steps but wanted to create a topic.

Let me know what other information you may want and will be happy to provide.

Thank you.  
Jay.

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [November 22, 2021, 7:01pm UTC](https://community.temporal.io/t/possible-bug-13-internal-listclosedworkflowexecutions-failed-error-in-webui/3445/2 "2021-11-22T19:01:45Z")

</div>

This looks same as: [[Rare Error] "ListClosedWorkflowExecutions failed" in Temporal Web · Issue #398 · temporalio/web · GitHub](https://github.com/temporalio/web/issues/398)  
Let us know if the possible resolution mentioned in the issue works for you.

---

<div class="post-metadata">

**Author:** ![alex](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/alex/32/15_2.png) [@alex](https://community.temporal.io/u/alex)\
**Post date:** [November 24, 2021, 6:24pm UTC](https://community.temporal.io/t/possible-bug-13-internal-listclosedworkflowexecutions-failed-error-in-webui/3445/3 "2021-11-24T18:24:59Z")

</div>

No, it has nothing to do with your workflows and workers registration. This is because schema was not created for the Elasticsearch index. When using Elasticsearch you need to create index and schema manually: [How to integrate Elasticsearch into a Temporal Cluster | Temporal Documentation](https://docs.temporal.io/docs/content/how-to-integrate-elasticsearch-into-a-temporal-cluster#create-index-schema-and-index).  
Please note, that index on your Elasticsearch server was already autocreated and you need to delete it first to apply schema.
