Empty excel/csv/json files when downloading query results

When downloading query results to an excel sheet, we are receiving empty files.
We have upgraded Metabase to the latest version 0.45.3, but still we are getting blank excel/csv/json files

Type of Question: Native Query written and saved as a Question with the date and text/number filters(No Field filters)
Database : Amazon Athena


  • The data includes a lot of JSON content which is parsed and flattened into columns
  • Another native query saved as a question from the same database but a different table is working fine and the downloaded excel has the data
  • Not sure why this particular question is giving an empty excel, even though the data loads properly. Only the downloaded files are blank(all Excel/CSV/JSON files are blank)

Download log:
[097c8306-9fc4-49a3-bdbf-08793018506f] 2023-03-23T13:23:38+05:30 DEBUG metabase.server.middleware.log POST /api/card/3387/query 202 [ASYNC: completed] 500.1 ms (10 DB calls) App DB connections: 0/15 Jetty threads: 6/200 (0 idle, 0 queued) (577 total active threads) Queries in flight: 0 (0 queued)

Diagnostic info:

"browser-info": {
"language": "en-GB",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.18+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.18",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.18+10",
"os.name": "Linux",
"os.version": "5.4.204-113.362.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MySQL",
"version": "5.7.37"
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.6"
"run-mode": "prod",
"version": {
"date": "2023-02-19",
"tag": "v0.45.3",
"branch": "release-x.45.x",
"hash": "070f57b"
"settings": {
"report-timezone": "Asia/Calcutta"

as I mentioned in my other post, please post DDL and optionally a sample row