SQL command not properly ended when referencing saved questions

I'm trying to use a saved questions as a CTE. However, I keep on getting the error "SQL command not properly ended"

The questions itself is also a CTE, example below

The Database being used is Oracle.
Any advice on what could be going wrong?

"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "",
"os.name": "Linux",
"os.version": "3.10.0-1160.36.2.el7.x86_64",
"user.language": "en",
"user.timezone": "GMT"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MySQL",
"version": "8.0.19"
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.6"
"run-mode": "prod",
"version": {
"date": "2022-10-17",
"tag": "v0.44.5",
"branch": "release-x.44.x",
"hash": "29fab4d"
"settings": {
"report-timezone": "Africa/Lagos"

Hi @oaajibade
There's likely a syntax error somewhere, the error is coming from your database. Try looking your database query debug log.

Thanks @flamber