search_events returns HTTP 404 while search_issues + search_issue_events succeed (mcp.sentry.dev hosted)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- api
Hướng nghiên cứu
Bắt đầu từ điểm vào của công cụ search_events và theo dõi quá trình xây dựng URL REST của Sentry, đối chiếu với các đường dẫn đang hoạt động search_issues và search_issue_events. Tái hiện các lệnh gọi được liệt kê tới máy chủ được lưu trữ, sau đó xác minh rằng search_events tiếp cận một endpoint hợp lệ và trả về dữ liệu sự kiện mong đợi hoặc số lượng tổng hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- Server: Hosted remote MCP server at
https://mcp.sentry.dev/mcp - Client: Claude Code (OAuth)
- Organization:
info618(region:us.sentry.io) - Project:
b2m-hub - Date observed: 2026-05-07
Symptom
search_events consistently returns HTTP 404: API request failed: Not Found regardless of parameters. The other AI-agent-backed tools (search_issues, search_issue_events) work fine against the same org/project, which makes this distinct from prior outages where the embedded agent failed for all three together.
Affected tool
- ❌
search_events— HTTP 404 from Sentry REST API on every call
Working tools (verified in same session, same org)
- ✅
whoami - ✅
find_organizations(returnsinfo618, regionUrlhttps://us.sentry.io) - ✅
find_projects(returnsb2m-hub) - ✅
search_issues— returns 17 unresolved issues with full metadata - ✅
search_issue_events— returns full event list with stacktrace, tags, geo - ✅
get_sentry_resource(resourceType=issue) — returns full issue + first event detail
Steps to reproduce
All four variations below return the same 404:
-
Explicit dataset + Sentry-syntax query, no project
search_events( organizationSlug='info618', regionUrl='https://us.sentry.io', dataset='errors', query='level:error', statsPeriod='24h', limit=5 ) -
Explicit dataset + project
search_events( organizationSlug='info618', regionUrl='https://us.sentry.io', projectSlug='b2m-hub', dataset='errors', query='level:error', statsPeriod='24h', limit=5 ) -
Natural-language query
search_events( organizationSlug='info618', regionUrl='https://us.sentry.io', query='how many errors today', limit=5, includeExplanation=true ) -
No regionUrl
search_events( organizationSlug='info618', dataset='errors', query='level:error', statsPeriod='24h', limit=5 )
Expected
Either an aggregate count (for natural-language) or a list of error events (for explicit dataset query), as documented in the tool description.
Actual
**Input Error**
There was an HTTP 404 error with your request to the Sentry API.
API error (404): API request failed: Not Found
. Please verify the parameters are correct.
You may be able to resolve the issue by addressing the concern and trying again.
Why this is distinct from prior incidents
| Issue | Symptom | Our case |
|---|---|---|
| #779 | OpenAI key invalidated → all 3 search tools fail | search_issues works for us |
| #776 | "No object generated: could not parse the response" | We get 404 from Sentry REST, not a parse error |
| #748/#749 | Cloudflare→OpenAI region block → "Country, region, or territory not supported" | search_issues uses the same agent layer and works for us |
| #553 | Agent generates incorrect aggregation queries | We get 404 even on simple level:error Sentry-syntax queries that should bypass aggregation logic |
The fact that search_issues succeeds rules out an agent-layer outage. The 404 is coming from the downstream Sentry REST call (likely /api/0/organizations/info618/events/), suggesting the URL search_events constructs is invalid for this org while the URL search_issues constructs is valid.
Adjacent unrelated bug observed
Earlier in the same session, search_docs returned HTTP 400: Invalid request on simple queries (e.g., query='Discover events API plan tier requirement', maxResults=3). Probably worth a separate triage.
Notes
- Sentry org has 17 unresolved issues right now — plenty of error data exists for
search_eventsto return. search_issue_eventsagainstB2M-HUB-4Rreturned 3 detailed events including stacktraces — confirming the events dataset itself is reachable for this org.- Repro is 100% — 4 distinct call shapes, all 404.
- Ngôn ngữ chính
- TypeScript
- Star
- 938
- Fork
- 166
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 156
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/toolkit
-
bug MCP
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/toolkit#1600 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
getsentry/toolkit#1471 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
getsentry/toolkit#1611 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement MCP
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 55/100
getsentry/toolkit#1601 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Use typed detector schemas from @sentry/api for metric monitorsCó thể đã có người làm @MathurAditya724 đã nhận 1 ngày trước. Đang mở
getsentry/toolkit#1595 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/toolkit
Issue tương tự
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
openclaw/openclaw#182077 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
aikido high security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dequelabs/axe-linter-action#161 ·
-
[Feature Request] Update the DimCode agent icon to the 45:32 brand markCó thể đã có người làm @eric8810 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: 建议导入源后,自动切换到新导入的源Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
lyswhut/lx-music-desktop#3026 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
abhigyanpatwari/GitNexus#3704 ·
Maintainer thường phản hồi trong vòng 1 ngày