Download in embeded dashboard

Hello,
I’ve got problem with download in embedded dashboard using Safari browser.
Menu displayed but download does not start. The following errors on browser console:
[Error] Feature policy ‘Fullscreen’ check failed for iframe with origin ‘https://soa.sm.eaist.mos.ru’ and allow attribute ‘’.
value (app-embed.bundle.js:5:836363)
performInitialMount (vendor.bundle.js:436:60017)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
mountComponent (vendor.bundle.js:436:59186)
mountComponent (vendor.bundle.js:92:167916)
E (vendor.bundle.js:406:215296)
perform (vendor.bundle.js:98:60307)
O (vendor.bundle.js:406:215510)
perform (vendor.bundle.js:98:60307)
_renderNewRootComponent (vendor.bundle.js:406:216523)
_renderSubtreeIntoContainer (vendor.bundle.js:406:217513)
x (app-embed.bundle.js:5:924492)
[Error] Invariant Violation: Minified React error #44; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=44 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(anonymous function) (vendor.bundle.js:21:36203)
(anonymous function) (vendor.bundle.js:436:89719)
value (app-embed.bundle.js:5:946235)
(anonymous function) (app-embed.bundle.js:5:945662)
[Error] Unable to post message to https://soa.sm.eaist.mos.ru. Recipient has origin https://212.11.152.7. (x2)

[Error] Refused to load https://soa.sm.eaist.mos.ru/api/embed/dashboard/eyJhbGciOiJIUzI1NiJ9.eyJyZXNvdXJjZSI6eyJkYXNoYm9hcmQiOjIzOH0sInBhcmFtcyI6eyIlRDAlQkElRDAlQkUlRDAlQjRfJUQwJUI4JUQwJUJEJUQxJTg2JUQwJUI4JUQwJUI0JUQwJUI1JUQwJUJEJUQxJTgyJUQwJUIwIjoiSU0xNDMxMTIifSwiZXhwIjoxNjA0MzM2OTk1LCJpYXQiOjE2MDQzMzYzOTV9.L5rY60gMAK8CxPP9q98kRU5wWH6N-l5EbafVVKSsKAw/dashcard/625/card/898/csv? because it does not appear in the frame-ancestors directive of the Content Security Policy.
[Error] Refused to load https://soa.sm.eaist.mos.ru/api/embed/dashboard/eyJhbGciOiJIUzI1NiJ9.eyJyZXNvdXJjZSI6eyJkYXNoYm9hcmQiOjIzOH0sInBhcmFtcyI6eyIlRDAlQkElRDAlQkUlRDAlQjRfJUQwJUI4JUQwJUJEJUQxJTg2JUQwJUI4JUQwJUI0JUQwJUI1JUQwJUJEJUQxJTgyJUQwJUIwIjoiSU0xNDMxMTIifSwiZXhwIjoxNjA0MzM2OTk1LCJpYXQiOjE2MDQzMzYzOTV9.L5rY60gMAK8CxPP9q98kRU5wWH6N-l5EbafVVKSsKAw/dashcard/625/card/898/csv? because it does not appear in the frame-ancestors directive of the Content Security Policy.
[Error] Refused to load https://soa.sm.eaist.mos.ru/api/embed/dashboard/eyJhbGciOiJIUzI1NiJ9.eyJyZXNvdXJjZSI6eyJkYXNoYm9hcmQiOjIzOH0sInBhcmFtcyI6eyIlRDAlQkElRDAlQkUlRDAlQjRfJUQwJUI4JUQwJUJEJUQxJTg2JUQwJUI4JUQwJUI0JUQwJUI1JUQwJUJEJUQxJTgyJUQwJUIwIjoiSU0xNDMxMTIifSwiZXhwIjoxNjA0MzM2OTk1LCJpYXQiOjE2MDQzMzYzOTV9.L5rY60gMAK8CxPP9q98kRU5wWH6N-l5EbafVVKSsKAw/dashcard/625/card/898/csv? because it does not appear in the frame-ancestors directive of the Content Security Policy.

All works correct with FireFox. Are there any special recommedations for embeding for Safary?
Metabase version v0.37.0.2.
Thanks in advance
Max

Hi @Max.A
You would have to override the CSP headers. There’s even problems with SameSite cookies. Safari behaves differently than other browsers.

Thanks flamber, will try.

I also have the same issue - works fine in Chrome
but on Safari - download menu appears but then click on an option and nothing happens

@Robbo or @Max.A - did either of you ever figure this out? We're experiencing the same issue...

Within embedded dashboards, chart downloads work just fine in Chrome, but not in Safari or Firefox.

Any sort of trick or configuration to fix?

@rektg It should work fine in Chrome and Firefox, but Safari has a known issue:
https://github.com/metabase/metabase/issues/16912 - upvote by clicking :+1: on the first post