# Fields limit on discover section

**URL:** <https://forum.opensearch.org/t/fields-limit-on-discover-section/23211>\
**Category:** OpenSearch Dashboards\
**Tags:** troubleshoot, configure\
**Created:** [January 24, 2025, 2:53pm UTC](https://forum.opensearch.org/t/fields-limit-on-discover-section/23211 "2025-01-24T14:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grimochu](https://avatars.discourse-cdn.com/v4/letter/g/e0b2c6/32.png) [@grimochu](https://forum.opensearch.org/u/grimochu)\
**Post date:** [January 24, 2025, 2:53pm UTC](https://forum.opensearch.org/t/fields-limit-on-discover-section/23211/1 "2025-01-24T14:53:58Z")

</div>

Opensearch v 2.15.0

Hi,  
I have an index pattern with more than 1000 fields and when I select this index pattern on the Discover section, I get the following error:  
null\_pointer\_exception  
Cannot invoke “org.opensearch.search.aggregations.InternalAggregations.getSerializedSize()” because “reducePhase.aggregations” is null  
Error  
at fetch\_Fetch.fetchResponse ([https://opensearch/\_dashboards/701202401/bundles/core/core.entry.js:15:243178](https://opensearch/_dashboards/701202401/bundles/core/core.entry.js:15:243178))  
at async interceptResponse ([https://opensearch/\_dashboards/701202401/bundles/core/core.entry.js:15:237932](https://opensearch/_dashboards/701202401/bundles/core/core.entry.js:15:237932))  
at async opensearch/\_dashboards/701202401/bundles/core/core.entry.js:15:240899

Is there any limit on the number of fields to show on the Discover section? It is possible to increase this limit?

I tried reducing the number of rows on the Discover section, but I still receive the error. The only way that I found to don’t get this error is adding source filters on the index pattern to reduce the number of fields, but is there any other solution for this?

I have the default config in Opensearch and in the Discover section by default shows timestamp and \_source.
