Table exports result in html instead of CSV

We go to a table and click the export table built in action. This results in a success response and a downloaded csv file with no table data but rather html code.

Here is a snippet of the code that is downloaded:

<!DOCTYPE html>
<html lang="en">
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta property="og:logo" content="/logo.png" />


			content="some long string"

			integrity="some long string"
			integrity="some long string"
		<link rel="icon" id="favicon" type="image/x-icon" href="data:," />
	<body class="l-application">
			integrity="some long string"
			integrity="some long string"

		<script type="text/javascript">
			!(function () {
				var analytics = ( = || []);
				if (!analytics.initialize)
					if (analytics.invoked)
						window.console && console.error && console.error('Segment snippet included twice.');
					else {
						analytics.invoked = !0;
						analytics.methods = [
						analytics.factory = function (t) {
							return function () {
								var e =;
								return analytics;
						for (var t = 0; t < analytics.methods.length; t++) {
							var e = analytics.methods[t];
							analytics[e] = analytics.factory(e);
						analytics.load = function (t, e) {
							var n = document.createElement('script');
							n.type = 'text/javascript';
							n.async = !0;
							n.src = '' + t + '/analytics.min.js';
							var a = document.getElementsByTagName('script')[0];
							a.parentNode.insertBefore(n, a);
							analytics._loadOptions = e;
						analytics.SNIPPET_VERSION = '4.1.0';
						analytics.load('some string');


Please provide any relevant information about your setup.

  • Package Version: 6.7.6
  • Express Version: 4.17.1
  • Sequelize Version: 6.5.0
  • Database Dialect: PostgreSQL
  • Database Version: 12.4

We encounter the same issue with our forest admin.

Here is the setup :

  • Liana Version: 6.6.3
  • Express Version: 4.16.4
  • Sequelize Version: 6.6.3
  • Database Dialect: PostgreSQL

Edit : The issue is not browser dependant.

Edit (bis): I found a workaround. The issue is happening only when I am in custom views. If I use the default table view with filters I can export the data I need as CSV

Hi @lrousseau, @DillonParfitt :wave: welcome to our community.
What do you mean by custom views?
Have you got any errors logs on your backend or the frontend?
Can you give me a screen of the network tab please :pray:.

Hi @Arnaud_Moncel

Please find attached the screenshot for the network tab I have blacked out some sensitive information if you need any of that please let me know.

The url is pretty strange :thinking:. How do you call the export action?
Can you give me a process to try to reproduce your issue?

Thanks iā€™m able to reproduce! I will create a bug report and transfert it to the tech team.

The fix was released, can you let me know if the issue is fixed now.