Report doesn’t work in 2.4.0

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Any browser

Describe the issue:

I think I’m a bit out of touch but I couldn’t get my report to csv format to work whereas on 2.3.0 version it works just fine. Do you have any suggestions?

Relevant Logs or Screenshots:

Error from browser with 400 error code
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘includes’)
at _callee2$ (reportsDashboards.plugin.js:1:173193)
at tryCatch (reportsDashboards.plugin.js:1:270607)
at Generator.invoke [as _invoke] (reportsDashboards.plugin.js:1:274558)
at (reportsDashboards.plugin.js:1:271746)
at asyncGeneratorStep (reportsDashboards.plugin.js:1:69994)
at _next (reportsDashboards.plugin.js:1:70305)
at reportsDashboards.plugin.js:1:70455
at new Promise ()
at reportsDashboards.plugin.js:1:70217
at readStreamToFile (reportsDashboards.plugin.js:1:173762)

@anirudha - can you and the team take a look at this?

Hi, could you provide the index mapping and saved search metadata? i can’t reproduce on my side