Filter dropdowns do not populate in embeds

Looks like the GitHub issue #14474 but it has nothing to do with tokens. Enabled filters do not populate in dashboard dropdowns neither in the preview nor in the final embed. When shared as a public link, however, the same dashboard dropdowns populate as expected. This seems like a dashboard embed bug with what is hopefully an easy fix. Should another GitHub issue be opened?

{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0",
"vendor": ""
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.12+7",
"java.vendor": "Eclipse Foundation",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.12",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.12+7",
"os.name": "Linux",
"os.version": "4.14.219-164.354.amzn2.x86_64",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"sqlserver",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "11.9"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.23"
}
},
"run-mode": "prod",
"version": {
"date": "2021-10-21",
"tag": "v1.41.1",
"branch": "release-x.41.x",
"hash": "68c0017"
},
"settings": {
"report-timezone": null
}
}
}

Hi @mesquest
So I'm guessing there's something in the logs, and likely it depends on the filters ("normal" vs Linked Filters) on the dashboard. The embed code can play an impact too.

Embed previews show the same behaviour. "Normal" filters show the default value set when the filter is first setup but nothing more. Clicking the embed preview dropdown shows nothing, it doesn't populate with the other options. It would seem it's an ongoing Metabase bug.

@mesquest Preview not working is a known issue:
https://github.com/metabase/metabase/issues/14309 - upvote by clicking :+1: on the first post