You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
analytics: an empty-string where key answers 500 DATABASE_ERROR on /analytics/query, /analytics/dataset/query and MCP query_dataset, where /data answers 400 INVALID_FIELD #35543
Found beside the clauses of dashboards.cube-query by the milestone acceptance #35539, at 92121196 on the stock showcase. Reproduced twice by the runner and twice by its helper.
Reproduction (admin)
POST /api/v1/analytics/query with {"cube":"showcase_invoice","measures":["showcase_invoice.count"],"where":{"":"z"}} → 500 DATABASE_ERROR. The server log says SQLITE_ERROR … near "=": syntax error.
POST /api/v1/analytics/dataset/query with {"datasetName":"showcase_invoice_metrics","selection":{"measures":["invoice_count"],"runtimeFilter":{"":"z"}}} → 500.
MCP query_dataset with the same filter → isError, DATABASE_ERROR.
Control: POST /api/v1/data/showcase_invoice/query with {"where":{"":"z"}} → 400 INVALID_FIELD.
Also seen, not yet reproduced twice
A blank key " " answered 403 PERMISSION_DENIED.
A four-hop dotted path to fields that do not exist (account.a.b.c.d) answered 403, naming a synthesized alias.
Both should be 400 too.
Expected
400 INVALID_FIELD at the analytics entry for an empty or blank filter key, as /data answers. A malformed body never reaches the driver.
Not a security finding: the key is quoted as an identifier and no value reaches the statement. The same class as the empty-projection 500 (#33840), on a different key.
QA-source: #35539 · dashboards.cube-query · observed beside the clauses
Triage: lands in domain:server · pm:queue; rationale: area:data · Bug · Impeded (an empty-string where key answers 500 instead of a 400 refusal on three analytics doors) · rare, reproduced four times → p3 as set; kept open because a 500 hides the cause. area:reports → area:data.
2026-11-20T05:17Z · This card now carries a fold group. Shared mechanism: malformed input on the analytics query doors answers 500 DATABASE_ERROR instead of a 400 refusal. The cards below, unclaimed and unstarted, are closed into this one so a single claimant fixes them in one PR. Each row's source card keeps its full body; this card closes when every row below and its own ask are done. Grade stays the highest of the group.
2026-11-20T05:33Z · Correction to the fold above: #33840 was claimed by seat 7 (os-tesla) moments before the fold, so it stays its own card and is not a row here. This card carries only its own ask.
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server·pm:queue; rationale: area:data · Bug · Impeded (an empty-stringwherekey answers 500 instead of a 400 refusal on three analytics doors) · rare, reproduced four times → p3 as set; kept open because a 500 hides the cause.area:reports→area:data.objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」
2026-11-20T05:17Z · This card now carries a fold group. Shared mechanism: malformed input on the analytics query doors answers 500 DATABASE_ERROR instead of a 400 refusal. The cards below, unclaimed and unstarted, are closed into this one so a single claimant fixes them in one PR. Each row's source card keeps its full body; this card closes when every row below and its own ask are done. Grade stays the highest of the group.
measuresand no dimensions answers 500 DATABASE_ERROR (the engine runsSELECT FROM) instead of a 400 at the entry #33840 (p3) POST /api/v1/analytics/query with an emptymeasuresand no dimensions answers 500 DATABASE_ERROR (the engine runsSELECT FROM) instead of a 400 at the entry — read POST /api/v1/analytics/query with an emptymeasuresand no dimensions answers 500 DATABASE_ERROR (the engine runsSELECT FROM) instead of a 400 at the entry #33840 for its full detail and acceptance.objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
2026-11-20T05:33Z · Correction to the fold above: #33840 was claimed by seat 7 (
os-tesla) moments before the fold, so it stays its own card and is not a row here. This card carries only its own ask.