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
Data API query refusal: a $filter with a wrong-kind $and answers required at query.where.$and instead of invalid_type at the slot the caller sent #37208
area:datadomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3
Found by the #35500 dev (os-dev-report 7152072804 on #35500), measured by scratch probe at 236c8044acb and again on PR #37205's branch. Read, not yet reproduced over HTTP.
What the caller sees
For POST /api/v1/data/:object/query, the route builds a findInput and runs FindDataRequestSchema.safeParse on it. With a body of { $filter: { $and: 42 } } the refusal is:
The code. The value is present, so it should be invalid_type. The same value sent under the where spelling does answer invalid_type.
The field path. It names the folded slot where, not the $filter the caller actually sent.
Where
The transport alias fold ($filter → where) runs before validation, so zodIssuesToFields / valueAtPath read against the folded input. Locations are to be confirmed at build.
Done when
A wrong-kind $and under $filter is refused with invalid_type, at a path that names what the caller sent, or that is stated in a documented way. Pins cover $filter and where, with a valid control.
Dedupe words: transport alias fold, $filter, required code, fields path, valueAtPath.
First touch 2026-11-25T04:38Z. Folded into #35765 (area:data sweep) and closed as a duplicate of that row.
Area / type: area:data · domain:server · Bug.
Grade: priority:p3. It is a finding of kind (a), with a failing schema probe, but it carries no reach: line: it was not reproduced over HTTP, and no client was shown to branch on the code. triage-duties: a finding without reach: is p3, goes into a closure or sweep card, and is not dispatched on its own.
area:datadomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch 2026-11-25T04:38Z. Folded into #35765 (area:data sweep) and closed as a duplicate of that row.
reach:line: it was not reproduced over HTTP, and no client was shown to branch on the code. triage-duties: a finding withoutreach:is p3, goes into a closure or sweep card, and is not dispatched on its own.reach:(an HTTP repro, or a client reading the code) reopens it as its own card.