Download results button not working on public queries

When we click on the download results button in the bottom corner (like this:

The button doesn't do anything. It works on private (not public) urls of the query, but we need external users without an account to be able to download results.

Thanks in advance for unblocking this issue.

Hi @oogie_c
Post "Diagnostic Info" from Admin > Troubleshooting.
Check your browser developer console for errors. And make sure that the Site URL in Admin > Settings > General is configured correctly.

Diagnostic Info

"browser-info": {
"language": "es-ES",
"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",
"": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.16+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "",
"java.version": "11.0.16",
"": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.16+8",
"": "Linux",
"os.version": "5.4.188+",
"user.language": "en",
"user.timezone": "Europe/Madrid"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "9.6.24"
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.3.2"
"run-mode": "prod",
"version": {
"date": "2022-08-08",
"tag": "v0.43.5",
"branch": "release-x.43.x",
"hash": "7a895ac"
"settings": {
"report-timezone": "Europe/Madrid"

Errors in Browser Developer Console

@oogie_c So is that URL how you access Metabase? Or are you using https and forgot to define it in Site URL?

This is the public URL I would use to access the query I'm trying to download

@oogie_c And I've mentioned two times before that your Site URL is incorrect, fix it.

Hi, I figured out what you meant.

Changing this setting to https:

Indeed, it works, now I can download the excel file from the public link.
I'll make sure it doesn't break anything and change it. Thanks