Repository navigation
Closed
Description
Steps to Reproduce
- Ask an agent
Find all sentry issues "null check operator" that hapenned in the last 7 days in production environement
Expected Result
Returns 14 results. WebUI with the same filters:
Actual Result
Returns 3 results.
Input
{
"organizationSlug": "helloprimary",
"naturalLanguageQuery": "null check operator from last 7 days in production environment",
"regionUrl": "https://de.sentry.io",
"limit": 50
}Output
# Search Results for "null check operator in production environment from last 7 days"
⚠️ **IMPORTANT**: Display these issues as highlighted cards with status indicators, assignee info, and clickable Issue IDs.
## Query Translation
Natural language: "null check operator in production environment from last 7 days"
Sentry query: `"null check operator" environment:production lastSeen:-7d`
Sort: date
## How I interpreted your query
Searched for the phrase "null check operator" in issues seen in the last 7 days within the production environment, using lastSeen for recent activity.
**View these results in Sentry**:
https://helloprimary.sentry.io/issues/?query=%22null+check+operator%22+environment%3Aproduction+lastSeen%3A-7d
_Please share this link with the user to view the search results in their Sentry dashboard._
Found **3** issues:
## 1. [APP-8Q](https://helloprimary.sentry.io/issues/APP-8Q)
**NoSuchMethodError: Null check operator used on a null value**
- **Status**: unresolved
- **Users**: 2
- **Events**: 6
- **Assigned to**: primary
- **First seen**: 19 hours ago
- **Last seen**: 12 hours ago
- **Culprit**: `/`
## 2. [APP-187](https://helloprimary.sentry.io/issues/APP-187)
**NoSuchMethodError: Null check operator used on a null value**
- **Status**: unresolved
- **Users**: 1
- **Events**: 101
- **First seen**: 16 hours ago
- **Last seen**: 15 hours ago
- **Culprit**: `/download-our-app`
## 3. [APP-5M](https://helloprimary.sentry.io/issues/APP-5M)
**TypeError: Null check operator used on a null value**
- **Status**: resolved
- **Users**: 2
- **Events**: 3
- **First seen**: 20 hours ago
- **Last seen**: 17 hours ago
- **Culprit**: `?`
## Next Steps
- Get more details about a specific issue: Use the Issue ID with get_issue_details
- Update issue status: Use update_issue to resolve or assign issues
- View event counts: Use search_events for aggregated statistics
which match the last 24h view:

Reacted by Mattooo
Metadata
Metadata
Assignees
Labels
No labels
Activity
Mattooo commentedon Mar 25, 2026
@tpucci were you able to resolve it somehow? Because I’ve encountered the same issue.
tpucci commentedon Mar 25, 2026
Unfortunately no 🫠
Mattooo commentedon Mar 25, 2026
You mentioned in the description that it filters issues from the last 24 hours when using naturalLanguageQuery. I would generalize that, though, because in my case it filters issues from the last 24 hours even when the prompt is “Give me all issues assigned to me.” What is basically the simplest query. Is it the same for you?
tpucci commentedon Mar 25, 2026
Yes it is 👍
dcramer commentedon Jul 28, 2026
Fixed by PR #1130.
search_issuesnow exposes the period parameter and defaults to 30 days instead of applying the old hardcoded 24-hour range.