@lvdv I’m not sure what’s going on. Try 0.34.2
Does this happen if you try to create a new dashboard?
What if you remove all the questions, can you then save?
Have you tried other browsers/computers?
Could it be a bad antivirus that is blocking something?
Or maybe you’re using CloudFlare or similar, that might be doing too much WAF?
Check the browser console Network-tab, when you try to save. It should give you details about the failing request - including errors and/or codes.
@flamber We’ve upgraded to 0.34.2. In both cases (a new dashboard and removing all the questions), saving worked. The bug only seems to appear when first trying to add a filter and trying to save without linking the filter with any card.
Are you using MySQL for the metadata by any chance? If so, then I know why it started working correctly in 0.34.2.
I have tried multiple different ways to get the “save failed”, but I cannot make it break - even when creating a filter without linking it.
I would really like to figure out what’s going on here, since this problem has been reported a couple of times, but I have never been able to reproduce it.
In either way, I’m glad it started working correctly for you.
Ironically enough, over the weekend a different dashboard that acquired the same issue. Weirdly enough no changes occurred in Metabase (our last update was on Friday) nor in the dashboard. We are using Redshift.
I cannot reproduce the error in other dashboards, but when it appears, my work around consists of editing the dashboard, removing the textbox, saving and than adding the textbox again.
@lvdv
Please post “Diagnostic Info” from Admin > Troubleshooting.
And do you see any error in the log, when you’re getting the “save failed”? Admin > Troubleshooting > Logs
There’s a couple of issues open about dashboard saving failed, but it might be different causes than your problem: https://github.com/metabase/metabase/issues?utf8=✓&q=is%3Aissue+is%3Aopen+dashboard+“save+failed”
It’s been really difficult to get steps to reproduce the problem - and without a clear error log or steps to reproduce, then it’s really difficult to figure out what’s going wrong and fixing it.
@lvdv I’m noticing that you have a Text Box as the first element, and there’s a filter. We’ve now figured out that it’s causing problems. Read more here: Dashboard filters javascript problem
@geovani Please post “Diagnostic Info” from Admin > Troubleshooting.
And can you post steps, so I could try to reproduce this using Sample Dataset?
Make sure that you don’t have empty titles on any of the charts (that issue will be fixed in 0.35.0)
@geovani I have not been able to reproduce the problem on 0.34.3. I've tested with a Simple question and Native/SQL. With the SQL question, I'm using Field Filters. This is what I have tested with:
@geovani Yes, I can link the filter to the question and save the dashboard.
Do you see any errors in your browser developer console or Admin > Troubleshooting > Logs?
@geovani It’s the exact same errors, as I reported in the issue. But I cannot reproduce it anymore: https://github.com/metabase/metabase/issues/11927
Are you using some type of CDN cache or anything like that?
Have you tried with Incognito/PrivateBrowsing-mode in your browser?
Can you reproduce the problem with Sample Dataset? Or is specific to something that I haven’t tested perhaps?