Cant save or edit existing questions

Get the following error when trying to edit and save a metabase question after latest update.

Created a question from a table to a collection, then go to question edit and try to save. get a failed on the button, this is same for duplicating question also .

DEBUG metabase.server.middleware.log POST /api/card 400 2.6 ms (0 DB calls)
{:errors {:dataset "nullable boolean"}, :specific-errors {:dataset ["should be a boolean, received: 0"]}}

{
"browser-info": {
"language": "en-GB",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20+8-post-Debian-1deb10u1",
"java.vendor": "Debian",
"java.vendor.url": "https://tracker.debian.org/openjdk-11",
"java.version": "11.0.20",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20+8-post-Debian-1deb10u1",
"os.name": "Linux",
"os.version": "4.19.0-25-amd64",
"user.language": "en",
"user.timezone": "Europe/London"
},
"metabase-info": {
"databases": [
"mysql",
"redshift"
],
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MariaDB",
"version": "10.3.39-MariaDB-0+deb10u1"
},
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.10"
}
},
"run-mode": "prod",
"version": {
"date": "2024-05-28",
"tag": "v0.49.13",
"hash": "de28e83"
},
"settings": {
"report-timezone": null
}
}
}

Can you upgrade to 0.49.14, not sure if you are hitting this:

upgraded to 0.49.14 and still hitting this error
{:errors {:dataset "nullable boolean"}, :specific-errors {:dataset ["should be a boolean, received: 0"]}}

{
"browser-info": {
"language": "en-GB",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20+8-post-Debian-1deb10u1",
"java.vendor": "Debian",
"java.vendor.url": "https://tracker.debian.org/openjdk-11",
"java.version": "11.0.20",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20+8-post-Debian-1deb10u1",
"os.name": "Linux",
"os.version": "4.19.0-25-amd64",
"user.language": "en",
"user.timezone": "Europe/London"
},
"metabase-info": {
"databases": [
"mysql",
"redshift"
],
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MariaDB",
"version": "10.3.39-MariaDB-0+deb10u1"
},
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.10"
}
},
"run-mode": "prod",
"version": {
"date": "2024-06-05",
"tag": "v0.49.14",
"hash": "3606ed3"
},
"settings": {
"report-timezone": null
}
}
}

my bad you need the 1.49.15 actually since the error is close to this one:

did you upgraded recently?

Yes that seems to be the bug, sorry couldn't find that when I looked before posting.

It was just about 2 weeks ago I updated from much older think 0.41 version to 0.49.14 so the bug you posted seems to be the issue from reading through. Will upgrade to 0.49.15 as soon as it releases with the bug fix.

Much appreciated for the help

Upgraded to 0.49.15 resolved the issue. many thanks

1 Like