Export to excel (OOTB) functionality in insights/Tables is not working.

I have configured a table inside a landing page. When i am clicking on the “Export to Excel” OOTB option then it is showing me “Request failed with status code 500”.

What can be the reason and how it can be solved ? is there any other way i can implement for the user to export the data in excel ?