Title: Do not capture failed Apollo requests for empty GraphQL errors arrays · Issue #6194 · getsentry/sentry-java · GitHub
Open Graph Title: Do not capture failed Apollo requests for empty GraphQL errors arrays · Issue #6194 · getsentry/sentry-java
X Title: Do not capture failed Apollo requests for empty GraphQL errors arrays · Issue #6194 · getsentry/sentry-java
Description: Description Failed-request detection in the Apollo 3, 4, and 5 integrations currently checks whether a response body contains an errors array. The current matcher also treats an empty array such as the following as a failure: { "data": {...
Open Graph Description: Description Failed-request detection in the Apollo 3, 4, and 5 integrations currently checks whether a response body contains an errors array. The current matcher also treats an empty array such as...
X Description: Description Failed-request detection in the Apollo 3, 4, and 5 integrations currently checks whether a response body contains an errors array. The current matcher also treats an empty array such as...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/6194
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do not capture failed Apollo requests for empty GraphQL errors arrays","articleBody":"### Description\n\nFailed-request detection in the Apollo 3, 4, and 5 integrations currently checks whether a response body contains an `errors` array. The current matcher also treats an empty array such as the following as a failure:\n\n```json\n{\n \"data\": {},\n \"errors\": []\n}\n```\n\nThis results in false-positive Sentry events. Failed-request events should only be captured when the GraphQL `errors` array contains at least one entry.\n\n### Acceptance criteria\n\n- Responses with an absent or empty `errors` array do not produce failed-request events.\n- Responses with one or more entries in `errors` continue to produce failed-request events.\n- Detection handles normal JSON whitespace and line breaks.\n- Existing streaming-response and data-collection behavior remains unchanged.\n- Unit tests cover empty and non-empty arrays in Apollo 3, 4, and 5.\n\nSource: https://github.com/getsentry/sentry-java/pull/6074#discussion_r4131234153\n","author":{"url":"https://github.com/lbloder","@type":"Person","name":"lbloder"},"datePublished":"2026-09-29T14:44:51Z","url":"https://github.com/getsentry/sentry-java/issues/6194"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:53ee55a3-bf87-c32e-58f0-4cd3306cf81b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 803A:2D5850:1C8ADB:27D652:6B0466FE |
| html-safe-nonce | 0a26957dabfb10836ab4a44abf797e07e2a6a6340a2fa495e9dc67c25ea0de6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDNBOjJENTg1MDoxQzhBREI6MjdENjUyOjZCMDQ2NkZFIiwidmlzaXRvcl9pZCI6IjY0MzA2NDY0MjU3NTA4OTAyMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 812d2be7ff9d3241812ff8b5c0c2a3e65b2b313a9b377373ebd8d0d237db72e5 |
| hovercard-subject-tag | issue:5632371815 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/6194/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86e0cbf7f74144a1d8b475b7d7919b0ada044617d28ae28ab799c974dddc8237/getsentry/sentry-java/issues/6194 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86e0cbf7f74144a1d8b475b7d7919b0ada044617d28ae28ab799c974dddc8237/getsentry/sentry-java/issues/6194 |
| og:image:alt | Description Failed-request detection in the Apollo 3, 4, and 5 integrations currently checks whether a response body contains an errors array. The current matcher also treats an empty array such as... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lbloder |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width