Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): v 2.5.0
Describe the issue: We have created a new dashboard using the Index Pattern. When we try to view the Dashboard, it works fine, but sometimes it shows an error saying Could not locate that index-pattern (id: [Index_Name]), [click here to re-create it]. I don’t know what we can do to resolve this error. Please help me to fix the error.
Configuration: OpenSearch Dashboard is working with docker image
Relevant Logs or Screenshots: Sometimes it doesn’t work and gives an error
Below is a web console error
visualizations.plugin.js:6 Error: Could not locate that index-pattern (id: email_analytics_index_pattern), [click here to re-create it](management/opensearch-dashboards/indexPatterns)
at _callee11$ (data.plugin.js:1:835707)
at tryCatch (customImportMapDashboards.plugin.js:13:125095)
at Generator.invoke [as _invoke] (customImportMapDashboards.plugin.js:13:129111)
at Generator.next (customImportMapDashboards.plugin.js:13:126290)
at index_patterns_asyncGeneratorStep (data.plugin.js:1:822086)
at _next (data.plugin.js:1:822411)
discover.plugin.js:6 Error: Could not locate that index-pattern (id: email_analytics_index_pattern), [click here to re-create it](management/opensearch-dashboards/indexPatterns)
at _callee11$ (data.plugin.js:1:835707)
at tryCatch (customImportMapDashboards.plugin.js:13:125095)
at Generator.invoke [as _invoke] (customImportMapDashboards.plugin.js:13:129111)
at Generator.next (customImportMapDashboards.plugin.js:13:126290)
at index_patterns_asyncGeneratorStep (data.plugin.js:1:822086)
at _next (data.plugin.js:1:822411)