Opensearch 2.7.0 multiple data sources not showing indices

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

Describe the issue:
Added the another opensearch cluster (2.4.1) as a datasource in newly upgraded 2.7.0 cluster after verify connection is okay. While trying to create index patter using this source getting following two errors in popup.

==============================
Failed to load indices

An internal server error occurred.

==============================
Failed to load remote clusters

An internal server error occurred.

Configuration:
Standard - no deviation.

Relevant Logs or Screenshots:

NA