Dashboardcliendpoint project filter contracts

endpoint project filter contracts

Category: gotcha
Confidence: 1.00
ID: 01a082f3-7258-7353-85d4-e55c1c1e500c
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1YFBlrgyVUrbeaTj0
Created: 2026-09-08 21:36:27
Updated: 2026-09-08 21:36:27

Content

Trap: centralizing every project constraint into one query representation looks consistent, but Sentry endpoints accept incompatible filters and malformed combinations can return 400 or wrong scope. Fix: Discover/Events uses project:<slug> via buildProjectQuery(), Replay uses projectSlugs, and Issue index uses its mode-specific project parameter or query syntax; never combine these forms.

Move to: