Go to Index management and click on the created index
Click on the Mappings tab. It shows an error:
Error in console:
Uncaught TypeError: Cannot read properties of undefined (reading 'label')
at use_state_listener.tsx:30:1
at Array.map (<anonymous>)
at use_state_listener.tsx:28:1
at mountMemo (react-dom.development.js:15846:1)
at Object.useMemo (react-dom.development.js:16219:1)
at useMemo (react.development.js:1532:1)
at useMappingsStateListener (use_state_listener.tsx:26:1)
at DetailsPageMappingsContent (details_page_mappings_content.tsx:155:1)
at renderWithHooks (react-dom.development.js:14985:1)
at mountIndeterminateComponent (react-dom.development.js:17811:1)
It probably fails because of an unsupported data type. I looked through the mappings and noticed one mapping with type counted_keyword which is not in the supported ones:
To see if this is the cause, I created a new index with the same mappings but removed this specific one. Then verified that the Mappings details page loads and works as expected.
How to reproduce:
Request to create index:
Error in console:
This error seems to come from this line: https://github.com/elastic/kibana/blob/1c3705ba5b5aa60ea451a7d0ff7f95f2d21a1b80/x-pack/plugins/index_management/public/application/components/mappings_editor/use_state_listener.tsx#L59
It probably fails because of an unsupported data type. I looked through the mappings and noticed one mapping with type
counted_keyword
which is not in the supported ones:To see if this is the cause, I created a new index with the same mappings but removed this specific one. Then verified that the Mappings details page loads and works as expected.