[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-grouping-noisy-errors":3,"mdc-ibv1rd-key":46,"related-org-posthog-grouping-noisy-errors":2545,"related-repo-posthog-grouping-noisy-errors":2712},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":41,"sourceUrl":44,"mdContent":45},"grouping-noisy-errors","group noisy PostHog error issues","Consolidate PostHog error tracking issues that are the same actual error reported under different fingerprints. Use when the user asks \"why do I have so many TypeError issues that look the same?\", \"merge these duplicates\", \"stop splitting this error into new issues\", or wants to clean up fingerprint sprawl. Decides between a one-shot merge of existing issues and a durable grouping rule that keeps future events from creating new fingerprints. Does NOT group conceptually similar bugs across different runtimes, SDKs, or call sites.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"posthog","PostHog","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fposthog.png",[12,16,17],{"name":13,"slug":14,"type":15},"Observability","observability","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Debugging","debugging",35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-31T05:51:59.848134",null,2977,[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"ab-testing","ai-analytics","analytics","cdp","data-warehouse","experiments","feature-flags","javascript","product-analytics","python","react","session-replay","surveys","typescript","web-analytics",{"repoUrl":21,"stars":20,"forks":24,"topics":42,"description":43},[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"🦔 PostHog is an all-in-one developer platform for building successful products. We offer product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog\u002Ftree\u002FHEAD\u002Fproducts\u002Ferror_tracking\u002Fskills\u002Fgrouping-noisy-errors","---\nname: grouping-noisy-errors\ndescription: >\n  Consolidate PostHog error tracking issues that are the same actual\n  error reported under different fingerprints. Use when the user asks\n  \"why do I have so many TypeError issues that look the same?\", \"merge\n  these duplicates\", \"stop splitting this error into new issues\", or\n  wants to clean up fingerprint sprawl. Decides between a one-shot merge\n  of existing issues and a durable grouping rule that keeps future\n  events from creating new fingerprints. Does NOT group conceptually\n  similar bugs across different runtimes, SDKs, or call sites.\n---\n\n# Grouping noisy errors\n\nThe same error can be reported as dozens of separate issues when stack frames or\nmessages contain volatile data — random IDs, dynamic file paths, build hashes,\nanonymous function names. The fix is two-step: merge the existing issues into one\ntarget, then create a grouping rule so future events from the same call site\nshare a single canonical fingerprint instead of spawning new ones.\n\nImportant up front: \"same error\" here is narrow. Two issues that share a name or\na sentence of message text but came from different code paths, different SDKs,\nor different runtimes are **different errors** and should stay separate, even if\nthe user thinks of them as \"the same kind of bug\". Grouping a frontend\n`TypeError` together with a backend `TypeError` because both messages contain\n\"undefined\" destroys the signal that lets the team find each one. The criteria\nin step 1 exist to keep that from happening.\n\n## Available tools\n\n| Tool                                           | Purpose                                                |\n| ---------------------------------------------- | ------------------------------------------------------ |\n| `posthog:query-error-tracking-issues-list`     | Find candidate duplicate issues                        |\n| `posthog:query-error-tracking-issue`           | Pull compact details for an individual issue           |\n| `posthog:query-error-tracking-issue-events`    | Sampled `$exception` events with stack and message     |\n| `posthog:error-tracking-issues-merge-create`   | Merge existing issues into a target                    |\n| `posthog:error-tracking-issues-split-create`   | Surgically split fingerprints back out if a merge errs |\n| `posthog:error-tracking-grouping-rules-create` | Auto-group future events into one issue                |\n| `posthog:error-tracking-grouping-rules-list`   | Check existing grouping rules before adding new ones   |\n| `posthog:error-tracking-issues-partial-update` | Rename or re-describe the target after a merge         |\n\n## Merge vs grouping rule\n\nThe two tools solve different halves of the problem:\n\n- **Merge** is one-shot. It collapses existing issues into a target and re-attaches\n  their events. Future events still group by their original fingerprints — if the\n  same noisy pattern keeps producing new fingerprints, merging is a treadmill.\n- **Grouping rule** is durable. It rewrites the fingerprint of any matching\n  event to `custom-rule:\u003Crule_id>` at ingestion time, so all future matches\n  share one canonical fingerprint rather than spawning new ones. The first\n  match either creates a new issue keyed off that fingerprint, or routes to\n  whatever issue is already bound to it.\n\nUse both together when the issue is recurring: merge historical duplicates\ninto a target issue, then create the rule. The rule API does **not** accept a\ntarget issue ID — once the rule starts firing, the resulting `custom-rule:...`\nissue can be merged into the same target so the consolidation sticks. Use\nmerge alone for historical sprawl that you don't expect to recur. Use a\ngrouping rule alone for a brand-new pattern you're getting ahead of, when\nyou don't need to consolidate with an existing issue.\n\n## Workflow\n\n### Step 1 — Confirm the duplicates\n\nSearch by exception type or message to find candidates:\n\n```json\nposthog:query-error-tracking-issues-list\n{\n  \"searchQuery\": \"TypeError: Cannot read property\",\n  \"status\": \"active\",\n  \"limit\": 50,\n  \"orderBy\": \"occurrences\",\n  \"dateRange\": { \"date_from\": \"-30d\" }\n}\n```\n\nFor each candidate, pull one sampled exception event to compare stack, type,\nand message:\n\n```json\nposthog:query-error-tracking-issue-events\n{\n  \"issueId\": \"\u003Ccandidate_issue_id>\",\n  \"limit\": 1,\n  \"include\": [\"exception\", \"stacktrace\", \"environment\"]\n}\n```\n\nRun this once per candidate. The tool defaults to `onlyAppFrames: true`, which\nmakes the top in-app frame stand out at a glance. If two candidates share the\nsame top frame and same exception type, they're likely the same error — but\nverify against the full checklist below before merging.\n\n#### Are they the same error?\n\nTreat two issues as duplicates only when **every one** of these matches:\n\n- `$lib` is the same SDK. The browser\u002FJS SDK captures `$lib` as `web` (not\n  `posthog-js`); server SDKs use `posthog-python`, `posthog-node`, etc. Confirm\n  the exact value with `read-data-schema` (`event_property_values` for `$lib` on\n  `$exception`) rather than assuming — a wrong value silently matches nothing.\n  Errors from different SDKs almost always come from different code paths even\n  when the exception type matches.\n- The exception type is identical (`$exception_types`).\n- The top in-app stack frame points at the same file and same function. Line\n  numbers and minor offsets within that function are fine; a different file or\n  a different function on top means a different bug.\n- The message follows the same template, with differences confined to volatile\n  data — IDs, hashes, timestamps, dynamic paths. If the difference is a\n  different verb, object, or operation, it's a different bug.\n- `$exception_handled` agrees (both handled or both unhandled). A caught\n  variant and an uncaught variant are different code paths and benefit from\n  staying separate.\n\nIf any single one of those differs, they are not duplicates — investigate\nseparately (`investigating-error-issue`).\n\n#### What NOT to group together\n\nThese are the failure modes that destroy debugging signal. Do not group\nacross any of them, even when the user describes them as \"the same kind of\nbug\":\n\n- **Frontend and backend variants of the same exception type.** A `TypeError`\n  from a browser bundle and a `TypeError` from a Node service share a name and\n  often a message word, but the stack, the runtime, and the fix all differ.\n- **Different SDKs \u002F platforms.** `web` (browser\u002FJS) vs `posthog-python` vs\n  `posthog-node` are different call sites.\n- **Same type, different file or function on top of the stack.** A\n  `NullPointerException` thrown from `OrderService.cancel` is not the same bug\n  as one thrown from `PaymentService.refund`, even if both messages say\n  \"user was null\".\n- **Caught vs uncaught.** Two issues that differ only in `$exception_handled`\n  are usually a code path that swallows the error in one place and lets it\n  propagate in another — keeping them separate makes that visible.\n- **Conceptually-similar bugs that happen to share a phrase.** \"Cannot read\n  property of undefined\" appears in many independent bugs. Without matching\n  stack frames, message similarity alone is not enough.\n\n### Step 2 — Pick the target issue\n\nPick the issue that should absorb the others:\n\n- **Most occurrences** — keeps the dominant issue so dashboards stay continuous\n- **Best name and description** — if the user has annotated one, prefer it\n- **Earliest `first_seen`** — preserves the original timeline\n\nNote the target's ID. The other candidates become `ids` to merge in.\n\n### Step 3 — Merge existing duplicates\n\n```json\nposthog:error-tracking-issues-merge-create\n{\n  \"id\": \"\u003Ctarget_issue_id>\",\n  \"ids\": [\"\u003Cduplicate_id_1>\", \"\u003Cduplicate_id_2>\", \"...\"]\n}\n```\n\nMerge is destructive (annotation `destructive: true`) — once issues are merged\ninto a target, the source issues are gone from the active list. Confirm the\ntarget with the user before calling. Cap each merge call at ~50 source IDs to\nkeep failures localized; for larger sprawl, batch.\n\nMerged changes may not appear in the issue list immediately — re-listing right\nafter the call can still show the source issues for a short window. If a\nfollow-up `error-tracking-issues-list` call looks unchanged, wait a few seconds\nand re-query rather than re-issuing the merge.\n\nIf after the merge the target's metadata looks wrong (a duplicate had a better\nname), use `error-tracking-issues-partial-update` to fix the name or description\non the target rather than re-merging.\n\n### Step 4 — Decide if a grouping rule is warranted\n\nA grouping rule is worth creating when both are true:\n\n- The pattern keeps producing new fingerprints (you have seen new duplicates\n  appear since the last merge)\n- You can describe the pattern with property filters that won't accidentally\n  swallow unrelated errors\n\nThe canonical exception properties (`$exception_types`, `$exception_values`\nfor messages, `$exception_sources` for file paths, `$exception_functions` for\nfunction names) are arrays at capture time. PostHog's property filters\nspecial-case them — each filter matches against the individual array\nelements, so all the standard operators (`exact`, `is_not`, `icontains`,\n`not_icontains`, `regex`, `not_regex`) work with the bare value:\n`exact \"TypeError\"`, not `exact '[\"TypeError\"]'` or `regex '\"TypeError\"'`.\n\nThe singular forms (`$exception_type`, `$exception_message`) and\n`$exception_stack_trace_raw` are emitted on a fraction of a percent of events;\nfiltering on them produces a rule that silently never matches.\n\nIf the volatility is in the message (e.g.,\n`TypeError at \u002Fstatic\u002Fmain.\u003Chash>.js`), a regex filter on `$exception_values`\nworks. If the volatility is in line numbers within a known file, `icontains`\non `$exception_sources` does. `$exception_handled` is also a useful narrowing\ndimension — separate handled vs unhandled rather than mixing them.\n\nSkip the grouping rule when:\n\n- The duplicates are historical (one-off backfill, no new occurrences) — merge\n  is enough\n- You can't write a filter narrow enough to be safe — broaden the merge cadence\n  instead and revisit later\n\n### Step 5 — Create the grouping rule\n\nTranslate the step 1 \"same error\" checklist into rule filters. A rule that\nmatches more loosely than the checklist will silently merge unrelated bugs\nforever — the rule is more dangerous than the merge because it runs against\nevery future event. At a minimum, scope by SDK and exception type, and add\na third dimension (file path via `$exception_sources`, or a specific message\nphrase via `$exception_values`) to pin the call site.\n\nConfirm the `$lib` value first — the browser\u002FJS SDK captures `$lib=\"web\"`, not\n`posthog-js`, so a rule filtering on `posthog-js` silently never matches. Verify\nwith `read-data-schema` (`event_property_values` for `$lib` on `$exception`)\nbefore baking a value into the rule:\n\n```json\nposthog:error-tracking-grouping-rules-create\n{\n  \"filters\": {\n    \"type\": \"AND\",\n    \"values\": [\n      {\n        \"type\": \"event\",\n        \"key\": \"$lib\",\n        \"operator\": \"exact\",\n        \"value\": \"web\"\n      },\n      {\n        \"type\": \"event\",\n        \"key\": \"$exception_types\",\n        \"operator\": \"exact\",\n        \"value\": \"TypeError\"\n      },\n      {\n        \"type\": \"event\",\n        \"key\": \"$exception_sources\",\n        \"operator\": \"icontains\",\n        \"value\": \"\u002Fstatic\u002Fcheckout\u002F\"\n      },\n      {\n        \"type\": \"event\",\n        \"key\": \"$exception_values\",\n        \"operator\": \"icontains\",\n        \"value\": \"Cannot read property\"\n      }\n    ]\n  },\n  \"description\": \"Cleanup: collapse noisy checkout TypeError fingerprints (web)\"\n}\n```\n\nRules are evaluated in order. List existing rules first\n(`posthog:error-tracking-grouping-rules-list`) — if a rule already partially\ncovers the pattern, prefer adjusting its filter over stacking a near-duplicate.\n\nThe optional `assignee` field auto-assigns issues created by the rule. Skip it\nunless the user explicitly wants ownership baked into the rule.\n\n### Step 6 — Verify and consolidate\n\nSample the merged issue's recent events to confirm the merge succeeded.\nWatch for the rule's `custom-rule:\u003Crule_id>` fingerprint to start matching\nevents — the first match creates a new issue (or routes to whatever was\nalready bound to that fingerprint). To keep events under your historical\ntarget rather than scattered across the new custom-rule issue, run a second\nmerge folding the custom-rule issue into the target.\n\nIf new (non-rule) fingerprints continue appearing despite the rule, its\nfilter is too narrow — widen it.\n\n## Tips\n\n- The user often confuses grouping rules with assignment rules. Grouping rules\n  decide _which_ issue an event lands in. Assignment rules decide _who_ owns the\n  resulting issue.\n- Don't merge issues that \"look similar\" without inspecting events. Two\n  `TypeError`s in different files are different bugs.\n- Stack frames are the canonical grouping signal — ingestion already\n  fingerprints on the stack, so a stable stack groups itself. A grouping rule\n  is for cases where the natural fingerprint sprays (volatile filenames,\n  hashed function names, dynamic line numbers) and you need to override it.\n- Disabling or tightening a grouping rule does not retroactively un-group\n  existing events; future events route correctly, past events stay where they\n  are. Use `error-tracking-issues-split-create` if you need to surgically\n  separate fingerprints back out of a merged issue.\n- Grouping rules are visible in the UI under Project settings → Error tracking →\n  Grouping rules; mention this when the user asks where rules live.\n",{"data":47,"body":48},{"name":4,"description":6},{"type":49,"children":50},"root",[51,59,65,94,101,273,279,284,317,337,343,350,355,611,616,788,801,808,820,937,949,955,960,1079,1085,1090,1129,1142,1148,1288,1301,1314,1327,1333,1338,1351,1453,1481,1522,1527,1540,1546,1565,1625,2427,2439,2452,2458,2470,2475,2481,2539],{"type":52,"tag":53,"props":54,"children":55},"element","h1",{"id":4},[56],{"type":57,"value":58},"text","Grouping noisy errors",{"type":52,"tag":60,"props":61,"children":62},"p",{},[63],{"type":57,"value":64},"The same error can be reported as dozens of separate issues when stack frames or\nmessages contain volatile data — random IDs, dynamic file paths, build hashes,\nanonymous function names. The fix is two-step: merge the existing issues into one\ntarget, then create a grouping rule so future events from the same call site\nshare a single canonical fingerprint instead of spawning new ones.",{"type":52,"tag":60,"props":66,"children":67},{},[68,70,76,78,85,87,92],{"type":57,"value":69},"Important up front: \"same error\" here is narrow. Two issues that share a name or\na sentence of message text but came from different code paths, different SDKs,\nor different runtimes are ",{"type":52,"tag":71,"props":72,"children":73},"strong",{},[74],{"type":57,"value":75},"different errors",{"type":57,"value":77}," and should stay separate, even if\nthe user thinks of them as \"the same kind of bug\". Grouping a frontend\n",{"type":52,"tag":79,"props":80,"children":82},"code",{"className":81},[],[83],{"type":57,"value":84},"TypeError",{"type":57,"value":86}," together with a backend ",{"type":52,"tag":79,"props":88,"children":90},{"className":89},[],[91],{"type":57,"value":84},{"type":57,"value":93}," because both messages contain\n\"undefined\" destroys the signal that lets the team find each one. The criteria\nin step 1 exist to keep that from happening.",{"type":52,"tag":95,"props":96,"children":98},"h2",{"id":97},"available-tools",[99],{"type":57,"value":100},"Available tools",{"type":52,"tag":102,"props":103,"children":104},"table",{},[105,124],{"type":52,"tag":106,"props":107,"children":108},"thead",{},[109],{"type":52,"tag":110,"props":111,"children":112},"tr",{},[113,119],{"type":52,"tag":114,"props":115,"children":116},"th",{},[117],{"type":57,"value":118},"Tool",{"type":52,"tag":114,"props":120,"children":121},{},[122],{"type":57,"value":123},"Purpose",{"type":52,"tag":125,"props":126,"children":127},"tbody",{},[128,146,163,188,205,222,239,256],{"type":52,"tag":110,"props":129,"children":130},{},[131,141],{"type":52,"tag":132,"props":133,"children":134},"td",{},[135],{"type":52,"tag":79,"props":136,"children":138},{"className":137},[],[139],{"type":57,"value":140},"posthog:query-error-tracking-issues-list",{"type":52,"tag":132,"props":142,"children":143},{},[144],{"type":57,"value":145},"Find candidate duplicate issues",{"type":52,"tag":110,"props":147,"children":148},{},[149,158],{"type":52,"tag":132,"props":150,"children":151},{},[152],{"type":52,"tag":79,"props":153,"children":155},{"className":154},[],[156],{"type":57,"value":157},"posthog:query-error-tracking-issue",{"type":52,"tag":132,"props":159,"children":160},{},[161],{"type":57,"value":162},"Pull compact details for an individual issue",{"type":52,"tag":110,"props":164,"children":165},{},[166,175],{"type":52,"tag":132,"props":167,"children":168},{},[169],{"type":52,"tag":79,"props":170,"children":172},{"className":171},[],[173],{"type":57,"value":174},"posthog:query-error-tracking-issue-events",{"type":52,"tag":132,"props":176,"children":177},{},[178,180,186],{"type":57,"value":179},"Sampled ",{"type":52,"tag":79,"props":181,"children":183},{"className":182},[],[184],{"type":57,"value":185},"$exception",{"type":57,"value":187}," events with stack and message",{"type":52,"tag":110,"props":189,"children":190},{},[191,200],{"type":52,"tag":132,"props":192,"children":193},{},[194],{"type":52,"tag":79,"props":195,"children":197},{"className":196},[],[198],{"type":57,"value":199},"posthog:error-tracking-issues-merge-create",{"type":52,"tag":132,"props":201,"children":202},{},[203],{"type":57,"value":204},"Merge existing issues into a target",{"type":52,"tag":110,"props":206,"children":207},{},[208,217],{"type":52,"tag":132,"props":209,"children":210},{},[211],{"type":52,"tag":79,"props":212,"children":214},{"className":213},[],[215],{"type":57,"value":216},"posthog:error-tracking-issues-split-create",{"type":52,"tag":132,"props":218,"children":219},{},[220],{"type":57,"value":221},"Surgically split fingerprints back out if a merge errs",{"type":52,"tag":110,"props":223,"children":224},{},[225,234],{"type":52,"tag":132,"props":226,"children":227},{},[228],{"type":52,"tag":79,"props":229,"children":231},{"className":230},[],[232],{"type":57,"value":233},"posthog:error-tracking-grouping-rules-create",{"type":52,"tag":132,"props":235,"children":236},{},[237],{"type":57,"value":238},"Auto-group future events into one issue",{"type":52,"tag":110,"props":240,"children":241},{},[242,251],{"type":52,"tag":132,"props":243,"children":244},{},[245],{"type":52,"tag":79,"props":246,"children":248},{"className":247},[],[249],{"type":57,"value":250},"posthog:error-tracking-grouping-rules-list",{"type":52,"tag":132,"props":252,"children":253},{},[254],{"type":57,"value":255},"Check existing grouping rules before adding new ones",{"type":52,"tag":110,"props":257,"children":258},{},[259,268],{"type":52,"tag":132,"props":260,"children":261},{},[262],{"type":52,"tag":79,"props":263,"children":265},{"className":264},[],[266],{"type":57,"value":267},"posthog:error-tracking-issues-partial-update",{"type":52,"tag":132,"props":269,"children":270},{},[271],{"type":57,"value":272},"Rename or re-describe the target after a merge",{"type":52,"tag":95,"props":274,"children":276},{"id":275},"merge-vs-grouping-rule",[277],{"type":57,"value":278},"Merge vs grouping rule",{"type":52,"tag":60,"props":280,"children":281},{},[282],{"type":57,"value":283},"The two tools solve different halves of the problem:",{"type":52,"tag":285,"props":286,"children":287},"ul",{},[288,299],{"type":52,"tag":289,"props":290,"children":291},"li",{},[292,297],{"type":52,"tag":71,"props":293,"children":294},{},[295],{"type":57,"value":296},"Merge",{"type":57,"value":298}," is one-shot. It collapses existing issues into a target and re-attaches\ntheir events. Future events still group by their original fingerprints — if the\nsame noisy pattern keeps producing new fingerprints, merging is a treadmill.",{"type":52,"tag":289,"props":300,"children":301},{},[302,307,309,315],{"type":52,"tag":71,"props":303,"children":304},{},[305],{"type":57,"value":306},"Grouping rule",{"type":57,"value":308}," is durable. It rewrites the fingerprint of any matching\nevent to ",{"type":52,"tag":79,"props":310,"children":312},{"className":311},[],[313],{"type":57,"value":314},"custom-rule:\u003Crule_id>",{"type":57,"value":316}," at ingestion time, so all future matches\nshare one canonical fingerprint rather than spawning new ones. The first\nmatch either creates a new issue keyed off that fingerprint, or routes to\nwhatever issue is already bound to it.",{"type":52,"tag":60,"props":318,"children":319},{},[320,322,327,329,335],{"type":57,"value":321},"Use both together when the issue is recurring: merge historical duplicates\ninto a target issue, then create the rule. The rule API does ",{"type":52,"tag":71,"props":323,"children":324},{},[325],{"type":57,"value":326},"not",{"type":57,"value":328}," accept a\ntarget issue ID — once the rule starts firing, the resulting ",{"type":52,"tag":79,"props":330,"children":332},{"className":331},[],[333],{"type":57,"value":334},"custom-rule:...",{"type":57,"value":336},"\nissue can be merged into the same target so the consolidation sticks. Use\nmerge alone for historical sprawl that you don't expect to recur. Use a\ngrouping rule alone for a brand-new pattern you're getting ahead of, when\nyou don't need to consolidate with an existing issue.",{"type":52,"tag":95,"props":338,"children":340},{"id":339},"workflow",[341],{"type":57,"value":342},"Workflow",{"type":52,"tag":344,"props":345,"children":347},"h3",{"id":346},"step-1-confirm-the-duplicates",[348],{"type":57,"value":349},"Step 1 — Confirm the duplicates",{"type":52,"tag":60,"props":351,"children":352},{},[353],{"type":57,"value":354},"Search by exception type or message to find candidates:",{"type":52,"tag":356,"props":357,"children":362},"pre",{"className":358,"code":359,"language":360,"meta":361,"style":361},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","posthog:query-error-tracking-issues-list\n{\n  \"searchQuery\": \"TypeError: Cannot read property\",\n  \"status\": \"active\",\n  \"limit\": 50,\n  \"orderBy\": \"occurrences\",\n  \"dateRange\": { \"date_from\": \"-30d\" }\n}\n","json","",[363],{"type":52,"tag":79,"props":364,"children":365},{"__ignoreMap":361},[366,378,388,433,471,502,540,602],{"type":52,"tag":367,"props":368,"children":371},"span",{"class":369,"line":370},"line",1,[372],{"type":52,"tag":367,"props":373,"children":375},{"style":374},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[376],{"type":57,"value":377},"posthog:query-error-tracking-issues-list\n",{"type":52,"tag":367,"props":379,"children":381},{"class":369,"line":380},2,[382],{"type":52,"tag":367,"props":383,"children":385},{"style":384},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[386],{"type":57,"value":387},"{\n",{"type":52,"tag":367,"props":389,"children":391},{"class":369,"line":390},3,[392,397,403,408,413,418,424,428],{"type":52,"tag":367,"props":393,"children":394},{"style":384},[395],{"type":57,"value":396},"  \"",{"type":52,"tag":367,"props":398,"children":400},{"style":399},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[401],{"type":57,"value":402},"searchQuery",{"type":52,"tag":367,"props":404,"children":405},{"style":384},[406],{"type":57,"value":407},"\"",{"type":52,"tag":367,"props":409,"children":410},{"style":384},[411],{"type":57,"value":412},":",{"type":52,"tag":367,"props":414,"children":415},{"style":384},[416],{"type":57,"value":417}," \"",{"type":52,"tag":367,"props":419,"children":421},{"style":420},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[422],{"type":57,"value":423},"TypeError: Cannot read property",{"type":52,"tag":367,"props":425,"children":426},{"style":384},[427],{"type":57,"value":407},{"type":52,"tag":367,"props":429,"children":430},{"style":384},[431],{"type":57,"value":432},",\n",{"type":52,"tag":367,"props":434,"children":436},{"class":369,"line":435},4,[437,441,446,450,454,458,463,467],{"type":52,"tag":367,"props":438,"children":439},{"style":384},[440],{"type":57,"value":396},{"type":52,"tag":367,"props":442,"children":443},{"style":399},[444],{"type":57,"value":445},"status",{"type":52,"tag":367,"props":447,"children":448},{"style":384},[449],{"type":57,"value":407},{"type":52,"tag":367,"props":451,"children":452},{"style":384},[453],{"type":57,"value":412},{"type":52,"tag":367,"props":455,"children":456},{"style":384},[457],{"type":57,"value":417},{"type":52,"tag":367,"props":459,"children":460},{"style":420},[461],{"type":57,"value":462},"active",{"type":52,"tag":367,"props":464,"children":465},{"style":384},[466],{"type":57,"value":407},{"type":52,"tag":367,"props":468,"children":469},{"style":384},[470],{"type":57,"value":432},{"type":52,"tag":367,"props":472,"children":474},{"class":369,"line":473},5,[475,479,484,488,492,498],{"type":52,"tag":367,"props":476,"children":477},{"style":384},[478],{"type":57,"value":396},{"type":52,"tag":367,"props":480,"children":481},{"style":399},[482],{"type":57,"value":483},"limit",{"type":52,"tag":367,"props":485,"children":486},{"style":384},[487],{"type":57,"value":407},{"type":52,"tag":367,"props":489,"children":490},{"style":384},[491],{"type":57,"value":412},{"type":52,"tag":367,"props":493,"children":495},{"style":494},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[496],{"type":57,"value":497}," 50",{"type":52,"tag":367,"props":499,"children":500},{"style":384},[501],{"type":57,"value":432},{"type":52,"tag":367,"props":503,"children":505},{"class":369,"line":504},6,[506,510,515,519,523,527,532,536],{"type":52,"tag":367,"props":507,"children":508},{"style":384},[509],{"type":57,"value":396},{"type":52,"tag":367,"props":511,"children":512},{"style":399},[513],{"type":57,"value":514},"orderBy",{"type":52,"tag":367,"props":516,"children":517},{"style":384},[518],{"type":57,"value":407},{"type":52,"tag":367,"props":520,"children":521},{"style":384},[522],{"type":57,"value":412},{"type":52,"tag":367,"props":524,"children":525},{"style":384},[526],{"type":57,"value":417},{"type":52,"tag":367,"props":528,"children":529},{"style":420},[530],{"type":57,"value":531},"occurrences",{"type":52,"tag":367,"props":533,"children":534},{"style":384},[535],{"type":57,"value":407},{"type":52,"tag":367,"props":537,"children":538},{"style":384},[539],{"type":57,"value":432},{"type":52,"tag":367,"props":541,"children":543},{"class":369,"line":542},7,[544,548,553,557,561,566,570,576,580,584,588,593,597],{"type":52,"tag":367,"props":545,"children":546},{"style":384},[547],{"type":57,"value":396},{"type":52,"tag":367,"props":549,"children":550},{"style":399},[551],{"type":57,"value":552},"dateRange",{"type":52,"tag":367,"props":554,"children":555},{"style":384},[556],{"type":57,"value":407},{"type":52,"tag":367,"props":558,"children":559},{"style":384},[560],{"type":57,"value":412},{"type":52,"tag":367,"props":562,"children":563},{"style":384},[564],{"type":57,"value":565}," {",{"type":52,"tag":367,"props":567,"children":568},{"style":384},[569],{"type":57,"value":417},{"type":52,"tag":367,"props":571,"children":573},{"style":572},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[574],{"type":57,"value":575},"date_from",{"type":52,"tag":367,"props":577,"children":578},{"style":384},[579],{"type":57,"value":407},{"type":52,"tag":367,"props":581,"children":582},{"style":384},[583],{"type":57,"value":412},{"type":52,"tag":367,"props":585,"children":586},{"style":384},[587],{"type":57,"value":417},{"type":52,"tag":367,"props":589,"children":590},{"style":420},[591],{"type":57,"value":592},"-30d",{"type":52,"tag":367,"props":594,"children":595},{"style":384},[596],{"type":57,"value":407},{"type":52,"tag":367,"props":598,"children":599},{"style":384},[600],{"type":57,"value":601}," }\n",{"type":52,"tag":367,"props":603,"children":605},{"class":369,"line":604},8,[606],{"type":52,"tag":367,"props":607,"children":608},{"style":384},[609],{"type":57,"value":610},"}\n",{"type":52,"tag":60,"props":612,"children":613},{},[614],{"type":57,"value":615},"For each candidate, pull one sampled exception event to compare stack, type,\nand message:",{"type":52,"tag":356,"props":617,"children":619},{"className":358,"code":618,"language":360,"meta":361,"style":361},"posthog:query-error-tracking-issue-events\n{\n  \"issueId\": \"\u003Ccandidate_issue_id>\",\n  \"limit\": 1,\n  \"include\": [\"exception\", \"stacktrace\", \"environment\"]\n}\n",[620],{"type":52,"tag":79,"props":621,"children":622},{"__ignoreMap":361},[623,631,638,675,703,781],{"type":52,"tag":367,"props":624,"children":625},{"class":369,"line":370},[626],{"type":52,"tag":367,"props":627,"children":628},{"style":374},[629],{"type":57,"value":630},"posthog:query-error-tracking-issue-events\n",{"type":52,"tag":367,"props":632,"children":633},{"class":369,"line":380},[634],{"type":52,"tag":367,"props":635,"children":636},{"style":384},[637],{"type":57,"value":387},{"type":52,"tag":367,"props":639,"children":640},{"class":369,"line":390},[641,645,650,654,658,662,667,671],{"type":52,"tag":367,"props":642,"children":643},{"style":384},[644],{"type":57,"value":396},{"type":52,"tag":367,"props":646,"children":647},{"style":399},[648],{"type":57,"value":649},"issueId",{"type":52,"tag":367,"props":651,"children":652},{"style":384},[653],{"type":57,"value":407},{"type":52,"tag":367,"props":655,"children":656},{"style":384},[657],{"type":57,"value":412},{"type":52,"tag":367,"props":659,"children":660},{"style":384},[661],{"type":57,"value":417},{"type":52,"tag":367,"props":663,"children":664},{"style":420},[665],{"type":57,"value":666},"\u003Ccandidate_issue_id>",{"type":52,"tag":367,"props":668,"children":669},{"style":384},[670],{"type":57,"value":407},{"type":52,"tag":367,"props":672,"children":673},{"style":384},[674],{"type":57,"value":432},{"type":52,"tag":367,"props":676,"children":677},{"class":369,"line":435},[678,682,686,690,694,699],{"type":52,"tag":367,"props":679,"children":680},{"style":384},[681],{"type":57,"value":396},{"type":52,"tag":367,"props":683,"children":684},{"style":399},[685],{"type":57,"value":483},{"type":52,"tag":367,"props":687,"children":688},{"style":384},[689],{"type":57,"value":407},{"type":52,"tag":367,"props":691,"children":692},{"style":384},[693],{"type":57,"value":412},{"type":52,"tag":367,"props":695,"children":696},{"style":494},[697],{"type":57,"value":698}," 1",{"type":52,"tag":367,"props":700,"children":701},{"style":384},[702],{"type":57,"value":432},{"type":52,"tag":367,"props":704,"children":705},{"class":369,"line":473},[706,710,715,719,723,728,732,737,741,746,750,755,759,763,767,772,776],{"type":52,"tag":367,"props":707,"children":708},{"style":384},[709],{"type":57,"value":396},{"type":52,"tag":367,"props":711,"children":712},{"style":399},[713],{"type":57,"value":714},"include",{"type":52,"tag":367,"props":716,"children":717},{"style":384},[718],{"type":57,"value":407},{"type":52,"tag":367,"props":720,"children":721},{"style":384},[722],{"type":57,"value":412},{"type":52,"tag":367,"props":724,"children":725},{"style":384},[726],{"type":57,"value":727}," [",{"type":52,"tag":367,"props":729,"children":730},{"style":384},[731],{"type":57,"value":407},{"type":52,"tag":367,"props":733,"children":734},{"style":420},[735],{"type":57,"value":736},"exception",{"type":52,"tag":367,"props":738,"children":739},{"style":384},[740],{"type":57,"value":407},{"type":52,"tag":367,"props":742,"children":743},{"style":384},[744],{"type":57,"value":745},",",{"type":52,"tag":367,"props":747,"children":748},{"style":384},[749],{"type":57,"value":417},{"type":52,"tag":367,"props":751,"children":752},{"style":420},[753],{"type":57,"value":754},"stacktrace",{"type":52,"tag":367,"props":756,"children":757},{"style":384},[758],{"type":57,"value":407},{"type":52,"tag":367,"props":760,"children":761},{"style":384},[762],{"type":57,"value":745},{"type":52,"tag":367,"props":764,"children":765},{"style":384},[766],{"type":57,"value":417},{"type":52,"tag":367,"props":768,"children":769},{"style":420},[770],{"type":57,"value":771},"environment",{"type":52,"tag":367,"props":773,"children":774},{"style":384},[775],{"type":57,"value":407},{"type":52,"tag":367,"props":777,"children":778},{"style":384},[779],{"type":57,"value":780},"]\n",{"type":52,"tag":367,"props":782,"children":783},{"class":369,"line":504},[784],{"type":52,"tag":367,"props":785,"children":786},{"style":384},[787],{"type":57,"value":610},{"type":52,"tag":60,"props":789,"children":790},{},[791,793,799],{"type":57,"value":792},"Run this once per candidate. The tool defaults to ",{"type":52,"tag":79,"props":794,"children":796},{"className":795},[],[797],{"type":57,"value":798},"onlyAppFrames: true",{"type":57,"value":800},", which\nmakes the top in-app frame stand out at a glance. If two candidates share the\nsame top frame and same exception type, they're likely the same error — but\nverify against the full checklist below before merging.",{"type":52,"tag":802,"props":803,"children":805},"h4",{"id":804},"are-they-the-same-error",[806],{"type":57,"value":807},"Are they the same error?",{"type":52,"tag":60,"props":809,"children":810},{},[811,813,818],{"type":57,"value":812},"Treat two issues as duplicates only when ",{"type":52,"tag":71,"props":814,"children":815},{},[816],{"type":57,"value":817},"every one",{"type":57,"value":819}," of these matches:",{"type":52,"tag":285,"props":821,"children":822},{},[823,903,916,921,926],{"type":52,"tag":289,"props":824,"children":825},{},[826,832,834,839,841,847,849,855,857,863,865,871,873,879,881,887,889,894,896,901],{"type":52,"tag":79,"props":827,"children":829},{"className":828},[],[830],{"type":57,"value":831},"$lib",{"type":57,"value":833}," is the same SDK. The browser\u002FJS SDK captures ",{"type":52,"tag":79,"props":835,"children":837},{"className":836},[],[838],{"type":57,"value":831},{"type":57,"value":840}," as ",{"type":52,"tag":79,"props":842,"children":844},{"className":843},[],[845],{"type":57,"value":846},"web",{"type":57,"value":848}," (not\n",{"type":52,"tag":79,"props":850,"children":852},{"className":851},[],[853],{"type":57,"value":854},"posthog-js",{"type":57,"value":856},"); server SDKs use ",{"type":52,"tag":79,"props":858,"children":860},{"className":859},[],[861],{"type":57,"value":862},"posthog-python",{"type":57,"value":864},", ",{"type":52,"tag":79,"props":866,"children":868},{"className":867},[],[869],{"type":57,"value":870},"posthog-node",{"type":57,"value":872},", etc. Confirm\nthe exact value with ",{"type":52,"tag":79,"props":874,"children":876},{"className":875},[],[877],{"type":57,"value":878},"read-data-schema",{"type":57,"value":880}," (",{"type":52,"tag":79,"props":882,"children":884},{"className":883},[],[885],{"type":57,"value":886},"event_property_values",{"type":57,"value":888}," for ",{"type":52,"tag":79,"props":890,"children":892},{"className":891},[],[893],{"type":57,"value":831},{"type":57,"value":895}," on\n",{"type":52,"tag":79,"props":897,"children":899},{"className":898},[],[900],{"type":57,"value":185},{"type":57,"value":902},") rather than assuming — a wrong value silently matches nothing.\nErrors from different SDKs almost always come from different code paths even\nwhen the exception type matches.",{"type":52,"tag":289,"props":904,"children":905},{},[906,908,914],{"type":57,"value":907},"The exception type is identical (",{"type":52,"tag":79,"props":909,"children":911},{"className":910},[],[912],{"type":57,"value":913},"$exception_types",{"type":57,"value":915},").",{"type":52,"tag":289,"props":917,"children":918},{},[919],{"type":57,"value":920},"The top in-app stack frame points at the same file and same function. Line\nnumbers and minor offsets within that function are fine; a different file or\na different function on top means a different bug.",{"type":52,"tag":289,"props":922,"children":923},{},[924],{"type":57,"value":925},"The message follows the same template, with differences confined to volatile\ndata — IDs, hashes, timestamps, dynamic paths. If the difference is a\ndifferent verb, object, or operation, it's a different bug.",{"type":52,"tag":289,"props":927,"children":928},{},[929,935],{"type":52,"tag":79,"props":930,"children":932},{"className":931},[],[933],{"type":57,"value":934},"$exception_handled",{"type":57,"value":936}," agrees (both handled or both unhandled). A caught\nvariant and an uncaught variant are different code paths and benefit from\nstaying separate.",{"type":52,"tag":60,"props":938,"children":939},{},[940,942,948],{"type":57,"value":941},"If any single one of those differs, they are not duplicates — investigate\nseparately (",{"type":52,"tag":79,"props":943,"children":945},{"className":944},[],[946],{"type":57,"value":947},"investigating-error-issue",{"type":57,"value":915},{"type":52,"tag":802,"props":950,"children":952},{"id":951},"what-not-to-group-together",[953],{"type":57,"value":954},"What NOT to group together",{"type":52,"tag":60,"props":956,"children":957},{},[958],{"type":57,"value":959},"These are the failure modes that destroy debugging signal. Do not group\nacross any of them, even when the user describes them as \"the same kind of\nbug\":",{"type":52,"tag":285,"props":961,"children":962},{},[963,987,1018,1052,1069],{"type":52,"tag":289,"props":964,"children":965},{},[966,971,973,978,980,985],{"type":52,"tag":71,"props":967,"children":968},{},[969],{"type":57,"value":970},"Frontend and backend variants of the same exception type.",{"type":57,"value":972}," A ",{"type":52,"tag":79,"props":974,"children":976},{"className":975},[],[977],{"type":57,"value":84},{"type":57,"value":979},"\nfrom a browser bundle and a ",{"type":52,"tag":79,"props":981,"children":983},{"className":982},[],[984],{"type":57,"value":84},{"type":57,"value":986}," from a Node service share a name and\noften a message word, but the stack, the runtime, and the fix all differ.",{"type":52,"tag":289,"props":988,"children":989},{},[990,995,997,1002,1004,1009,1011,1016],{"type":52,"tag":71,"props":991,"children":992},{},[993],{"type":57,"value":994},"Different SDKs \u002F platforms.",{"type":57,"value":996}," ",{"type":52,"tag":79,"props":998,"children":1000},{"className":999},[],[1001],{"type":57,"value":846},{"type":57,"value":1003}," (browser\u002FJS) vs ",{"type":52,"tag":79,"props":1005,"children":1007},{"className":1006},[],[1008],{"type":57,"value":862},{"type":57,"value":1010}," vs\n",{"type":52,"tag":79,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":57,"value":870},{"type":57,"value":1017}," are different call sites.",{"type":52,"tag":289,"props":1019,"children":1020},{},[1021,1026,1028,1034,1036,1042,1044,1050],{"type":52,"tag":71,"props":1022,"children":1023},{},[1024],{"type":57,"value":1025},"Same type, different file or function on top of the stack.",{"type":57,"value":1027}," A\n",{"type":52,"tag":79,"props":1029,"children":1031},{"className":1030},[],[1032],{"type":57,"value":1033},"NullPointerException",{"type":57,"value":1035}," thrown from ",{"type":52,"tag":79,"props":1037,"children":1039},{"className":1038},[],[1040],{"type":57,"value":1041},"OrderService.cancel",{"type":57,"value":1043}," is not the same bug\nas one thrown from ",{"type":52,"tag":79,"props":1045,"children":1047},{"className":1046},[],[1048],{"type":57,"value":1049},"PaymentService.refund",{"type":57,"value":1051},", even if both messages say\n\"user was null\".",{"type":52,"tag":289,"props":1053,"children":1054},{},[1055,1060,1062,1067],{"type":52,"tag":71,"props":1056,"children":1057},{},[1058],{"type":57,"value":1059},"Caught vs uncaught.",{"type":57,"value":1061}," Two issues that differ only in ",{"type":52,"tag":79,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":57,"value":934},{"type":57,"value":1068},"\nare usually a code path that swallows the error in one place and lets it\npropagate in another — keeping them separate makes that visible.",{"type":52,"tag":289,"props":1070,"children":1071},{},[1072,1077],{"type":52,"tag":71,"props":1073,"children":1074},{},[1075],{"type":57,"value":1076},"Conceptually-similar bugs that happen to share a phrase.",{"type":57,"value":1078}," \"Cannot read\nproperty of undefined\" appears in many independent bugs. Without matching\nstack frames, message similarity alone is not enough.",{"type":52,"tag":344,"props":1080,"children":1082},{"id":1081},"step-2-pick-the-target-issue",[1083],{"type":57,"value":1084},"Step 2 — Pick the target issue",{"type":52,"tag":60,"props":1086,"children":1087},{},[1088],{"type":57,"value":1089},"Pick the issue that should absorb the others:",{"type":52,"tag":285,"props":1091,"children":1092},{},[1093,1103,1113],{"type":52,"tag":289,"props":1094,"children":1095},{},[1096,1101],{"type":52,"tag":71,"props":1097,"children":1098},{},[1099],{"type":57,"value":1100},"Most occurrences",{"type":57,"value":1102}," — keeps the dominant issue so dashboards stay continuous",{"type":52,"tag":289,"props":1104,"children":1105},{},[1106,1111],{"type":52,"tag":71,"props":1107,"children":1108},{},[1109],{"type":57,"value":1110},"Best name and description",{"type":57,"value":1112}," — if the user has annotated one, prefer it",{"type":52,"tag":289,"props":1114,"children":1115},{},[1116,1127],{"type":52,"tag":71,"props":1117,"children":1118},{},[1119,1121],{"type":57,"value":1120},"Earliest ",{"type":52,"tag":79,"props":1122,"children":1124},{"className":1123},[],[1125],{"type":57,"value":1126},"first_seen",{"type":57,"value":1128}," — preserves the original timeline",{"type":52,"tag":60,"props":1130,"children":1131},{},[1132,1134,1140],{"type":57,"value":1133},"Note the target's ID. The other candidates become ",{"type":52,"tag":79,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":57,"value":1139},"ids",{"type":57,"value":1141}," to merge in.",{"type":52,"tag":344,"props":1143,"children":1145},{"id":1144},"step-3-merge-existing-duplicates",[1146],{"type":57,"value":1147},"Step 3 — Merge existing duplicates",{"type":52,"tag":356,"props":1149,"children":1151},{"className":358,"code":1150,"language":360,"meta":361,"style":361},"posthog:error-tracking-issues-merge-create\n{\n  \"id\": \"\u003Ctarget_issue_id>\",\n  \"ids\": [\"\u003Cduplicate_id_1>\", \"\u003Cduplicate_id_2>\", \"...\"]\n}\n",[1152],{"type":52,"tag":79,"props":1153,"children":1154},{"__ignoreMap":361},[1155,1163,1170,1207,1281],{"type":52,"tag":367,"props":1156,"children":1157},{"class":369,"line":370},[1158],{"type":52,"tag":367,"props":1159,"children":1160},{"style":374},[1161],{"type":57,"value":1162},"posthog:error-tracking-issues-merge-create\n",{"type":52,"tag":367,"props":1164,"children":1165},{"class":369,"line":380},[1166],{"type":52,"tag":367,"props":1167,"children":1168},{"style":384},[1169],{"type":57,"value":387},{"type":52,"tag":367,"props":1171,"children":1172},{"class":369,"line":390},[1173,1177,1182,1186,1190,1194,1199,1203],{"type":52,"tag":367,"props":1174,"children":1175},{"style":384},[1176],{"type":57,"value":396},{"type":52,"tag":367,"props":1178,"children":1179},{"style":399},[1180],{"type":57,"value":1181},"id",{"type":52,"tag":367,"props":1183,"children":1184},{"style":384},[1185],{"type":57,"value":407},{"type":52,"tag":367,"props":1187,"children":1188},{"style":384},[1189],{"type":57,"value":412},{"type":52,"tag":367,"props":1191,"children":1192},{"style":384},[1193],{"type":57,"value":417},{"type":52,"tag":367,"props":1195,"children":1196},{"style":420},[1197],{"type":57,"value":1198},"\u003Ctarget_issue_id>",{"type":52,"tag":367,"props":1200,"children":1201},{"style":384},[1202],{"type":57,"value":407},{"type":52,"tag":367,"props":1204,"children":1205},{"style":384},[1206],{"type":57,"value":432},{"type":52,"tag":367,"props":1208,"children":1209},{"class":369,"line":435},[1210,1214,1218,1222,1226,1230,1234,1239,1243,1247,1251,1256,1260,1264,1268,1273,1277],{"type":52,"tag":367,"props":1211,"children":1212},{"style":384},[1213],{"type":57,"value":396},{"type":52,"tag":367,"props":1215,"children":1216},{"style":399},[1217],{"type":57,"value":1139},{"type":52,"tag":367,"props":1219,"children":1220},{"style":384},[1221],{"type":57,"value":407},{"type":52,"tag":367,"props":1223,"children":1224},{"style":384},[1225],{"type":57,"value":412},{"type":52,"tag":367,"props":1227,"children":1228},{"style":384},[1229],{"type":57,"value":727},{"type":52,"tag":367,"props":1231,"children":1232},{"style":384},[1233],{"type":57,"value":407},{"type":52,"tag":367,"props":1235,"children":1236},{"style":420},[1237],{"type":57,"value":1238},"\u003Cduplicate_id_1>",{"type":52,"tag":367,"props":1240,"children":1241},{"style":384},[1242],{"type":57,"value":407},{"type":52,"tag":367,"props":1244,"children":1245},{"style":384},[1246],{"type":57,"value":745},{"type":52,"tag":367,"props":1248,"children":1249},{"style":384},[1250],{"type":57,"value":417},{"type":52,"tag":367,"props":1252,"children":1253},{"style":420},[1254],{"type":57,"value":1255},"\u003Cduplicate_id_2>",{"type":52,"tag":367,"props":1257,"children":1258},{"style":384},[1259],{"type":57,"value":407},{"type":52,"tag":367,"props":1261,"children":1262},{"style":384},[1263],{"type":57,"value":745},{"type":52,"tag":367,"props":1265,"children":1266},{"style":384},[1267],{"type":57,"value":417},{"type":52,"tag":367,"props":1269,"children":1270},{"style":420},[1271],{"type":57,"value":1272},"...",{"type":52,"tag":367,"props":1274,"children":1275},{"style":384},[1276],{"type":57,"value":407},{"type":52,"tag":367,"props":1278,"children":1279},{"style":384},[1280],{"type":57,"value":780},{"type":52,"tag":367,"props":1282,"children":1283},{"class":369,"line":473},[1284],{"type":52,"tag":367,"props":1285,"children":1286},{"style":384},[1287],{"type":57,"value":610},{"type":52,"tag":60,"props":1289,"children":1290},{},[1291,1293,1299],{"type":57,"value":1292},"Merge is destructive (annotation ",{"type":52,"tag":79,"props":1294,"children":1296},{"className":1295},[],[1297],{"type":57,"value":1298},"destructive: true",{"type":57,"value":1300},") — once issues are merged\ninto a target, the source issues are gone from the active list. Confirm the\ntarget with the user before calling. Cap each merge call at ~50 source IDs to\nkeep failures localized; for larger sprawl, batch.",{"type":52,"tag":60,"props":1302,"children":1303},{},[1304,1306,1312],{"type":57,"value":1305},"Merged changes may not appear in the issue list immediately — re-listing right\nafter the call can still show the source issues for a short window. If a\nfollow-up ",{"type":52,"tag":79,"props":1307,"children":1309},{"className":1308},[],[1310],{"type":57,"value":1311},"error-tracking-issues-list",{"type":57,"value":1313}," call looks unchanged, wait a few seconds\nand re-query rather than re-issuing the merge.",{"type":52,"tag":60,"props":1315,"children":1316},{},[1317,1319,1325],{"type":57,"value":1318},"If after the merge the target's metadata looks wrong (a duplicate had a better\nname), use ",{"type":52,"tag":79,"props":1320,"children":1322},{"className":1321},[],[1323],{"type":57,"value":1324},"error-tracking-issues-partial-update",{"type":57,"value":1326}," to fix the name or description\non the target rather than re-merging.",{"type":52,"tag":344,"props":1328,"children":1330},{"id":1329},"step-4-decide-if-a-grouping-rule-is-warranted",[1331],{"type":57,"value":1332},"Step 4 — Decide if a grouping rule is warranted",{"type":52,"tag":60,"props":1334,"children":1335},{},[1336],{"type":57,"value":1337},"A grouping rule is worth creating when both are true:",{"type":52,"tag":285,"props":1339,"children":1340},{},[1341,1346],{"type":52,"tag":289,"props":1342,"children":1343},{},[1344],{"type":57,"value":1345},"The pattern keeps producing new fingerprints (you have seen new duplicates\nappear since the last merge)",{"type":52,"tag":289,"props":1347,"children":1348},{},[1349],{"type":57,"value":1350},"You can describe the pattern with property filters that won't accidentally\nswallow unrelated errors",{"type":52,"tag":60,"props":1352,"children":1353},{},[1354,1356,1361,1362,1368,1370,1376,1378,1384,1386,1392,1393,1399,1400,1406,1407,1413,1414,1420,1421,1427,1429,1435,1437,1443,1445,1451],{"type":57,"value":1355},"The canonical exception properties (",{"type":52,"tag":79,"props":1357,"children":1359},{"className":1358},[],[1360],{"type":57,"value":913},{"type":57,"value":864},{"type":52,"tag":79,"props":1363,"children":1365},{"className":1364},[],[1366],{"type":57,"value":1367},"$exception_values",{"type":57,"value":1369},"\nfor messages, ",{"type":52,"tag":79,"props":1371,"children":1373},{"className":1372},[],[1374],{"type":57,"value":1375},"$exception_sources",{"type":57,"value":1377}," for file paths, ",{"type":52,"tag":79,"props":1379,"children":1381},{"className":1380},[],[1382],{"type":57,"value":1383},"$exception_functions",{"type":57,"value":1385}," for\nfunction names) are arrays at capture time. PostHog's property filters\nspecial-case them — each filter matches against the individual array\nelements, so all the standard operators (",{"type":52,"tag":79,"props":1387,"children":1389},{"className":1388},[],[1390],{"type":57,"value":1391},"exact",{"type":57,"value":864},{"type":52,"tag":79,"props":1394,"children":1396},{"className":1395},[],[1397],{"type":57,"value":1398},"is_not",{"type":57,"value":864},{"type":52,"tag":79,"props":1401,"children":1403},{"className":1402},[],[1404],{"type":57,"value":1405},"icontains",{"type":57,"value":432},{"type":52,"tag":79,"props":1408,"children":1410},{"className":1409},[],[1411],{"type":57,"value":1412},"not_icontains",{"type":57,"value":864},{"type":52,"tag":79,"props":1415,"children":1417},{"className":1416},[],[1418],{"type":57,"value":1419},"regex",{"type":57,"value":864},{"type":52,"tag":79,"props":1422,"children":1424},{"className":1423},[],[1425],{"type":57,"value":1426},"not_regex",{"type":57,"value":1428},") work with the bare value:\n",{"type":52,"tag":79,"props":1430,"children":1432},{"className":1431},[],[1433],{"type":57,"value":1434},"exact \"TypeError\"",{"type":57,"value":1436},", not ",{"type":52,"tag":79,"props":1438,"children":1440},{"className":1439},[],[1441],{"type":57,"value":1442},"exact '[\"TypeError\"]'",{"type":57,"value":1444}," or ",{"type":52,"tag":79,"props":1446,"children":1448},{"className":1447},[],[1449],{"type":57,"value":1450},"regex '\"TypeError\"'",{"type":57,"value":1452},".",{"type":52,"tag":60,"props":1454,"children":1455},{},[1456,1458,1464,1465,1471,1473,1479],{"type":57,"value":1457},"The singular forms (",{"type":52,"tag":79,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":57,"value":1463},"$exception_type",{"type":57,"value":864},{"type":52,"tag":79,"props":1466,"children":1468},{"className":1467},[],[1469],{"type":57,"value":1470},"$exception_message",{"type":57,"value":1472},") and\n",{"type":52,"tag":79,"props":1474,"children":1476},{"className":1475},[],[1477],{"type":57,"value":1478},"$exception_stack_trace_raw",{"type":57,"value":1480}," are emitted on a fraction of a percent of events;\nfiltering on them produces a rule that silently never matches.",{"type":52,"tag":60,"props":1482,"children":1483},{},[1484,1486,1492,1494,1499,1501,1506,1508,1513,1515,1520],{"type":57,"value":1485},"If the volatility is in the message (e.g.,\n",{"type":52,"tag":79,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":57,"value":1491},"TypeError at \u002Fstatic\u002Fmain.\u003Chash>.js",{"type":57,"value":1493},"), a regex filter on ",{"type":52,"tag":79,"props":1495,"children":1497},{"className":1496},[],[1498],{"type":57,"value":1367},{"type":57,"value":1500},"\nworks. If the volatility is in line numbers within a known file, ",{"type":52,"tag":79,"props":1502,"children":1504},{"className":1503},[],[1505],{"type":57,"value":1405},{"type":57,"value":1507},"\non ",{"type":52,"tag":79,"props":1509,"children":1511},{"className":1510},[],[1512],{"type":57,"value":1375},{"type":57,"value":1514}," does. ",{"type":52,"tag":79,"props":1516,"children":1518},{"className":1517},[],[1519],{"type":57,"value":934},{"type":57,"value":1521}," is also a useful narrowing\ndimension — separate handled vs unhandled rather than mixing them.",{"type":52,"tag":60,"props":1523,"children":1524},{},[1525],{"type":57,"value":1526},"Skip the grouping rule when:",{"type":52,"tag":285,"props":1528,"children":1529},{},[1530,1535],{"type":52,"tag":289,"props":1531,"children":1532},{},[1533],{"type":57,"value":1534},"The duplicates are historical (one-off backfill, no new occurrences) — merge\nis enough",{"type":52,"tag":289,"props":1536,"children":1537},{},[1538],{"type":57,"value":1539},"You can't write a filter narrow enough to be safe — broaden the merge cadence\ninstead and revisit later",{"type":52,"tag":344,"props":1541,"children":1543},{"id":1542},"step-5-create-the-grouping-rule",[1544],{"type":57,"value":1545},"Step 5 — Create the grouping rule",{"type":52,"tag":60,"props":1547,"children":1548},{},[1549,1551,1556,1558,1563],{"type":57,"value":1550},"Translate the step 1 \"same error\" checklist into rule filters. A rule that\nmatches more loosely than the checklist will silently merge unrelated bugs\nforever — the rule is more dangerous than the merge because it runs against\nevery future event. At a minimum, scope by SDK and exception type, and add\na third dimension (file path via ",{"type":52,"tag":79,"props":1552,"children":1554},{"className":1553},[],[1555],{"type":57,"value":1375},{"type":57,"value":1557},", or a specific message\nphrase via ",{"type":52,"tag":79,"props":1559,"children":1561},{"className":1560},[],[1562],{"type":57,"value":1367},{"type":57,"value":1564},") to pin the call site.",{"type":52,"tag":60,"props":1566,"children":1567},{},[1568,1570,1575,1577,1583,1585,1590,1592,1597,1599,1604,1605,1610,1611,1616,1618,1623],{"type":57,"value":1569},"Confirm the ",{"type":52,"tag":79,"props":1571,"children":1573},{"className":1572},[],[1574],{"type":57,"value":831},{"type":57,"value":1576}," value first — the browser\u002FJS SDK captures ",{"type":52,"tag":79,"props":1578,"children":1580},{"className":1579},[],[1581],{"type":57,"value":1582},"$lib=\"web\"",{"type":57,"value":1584},", not\n",{"type":52,"tag":79,"props":1586,"children":1588},{"className":1587},[],[1589],{"type":57,"value":854},{"type":57,"value":1591},", so a rule filtering on ",{"type":52,"tag":79,"props":1593,"children":1595},{"className":1594},[],[1596],{"type":57,"value":854},{"type":57,"value":1598}," silently never matches. Verify\nwith ",{"type":52,"tag":79,"props":1600,"children":1602},{"className":1601},[],[1603],{"type":57,"value":878},{"type":57,"value":880},{"type":52,"tag":79,"props":1606,"children":1608},{"className":1607},[],[1609],{"type":57,"value":886},{"type":57,"value":888},{"type":52,"tag":79,"props":1612,"children":1614},{"className":1613},[],[1615],{"type":57,"value":831},{"type":57,"value":1617}," on ",{"type":52,"tag":79,"props":1619,"children":1621},{"className":1620},[],[1622],{"type":57,"value":185},{"type":57,"value":1624},")\nbefore baking a value into the rule:",{"type":52,"tag":356,"props":1626,"children":1628},{"className":358,"code":1627,"language":360,"meta":361,"style":361},"posthog:error-tracking-grouping-rules-create\n{\n  \"filters\": {\n    \"type\": \"AND\",\n    \"values\": [\n      {\n        \"type\": \"event\",\n        \"key\": \"$lib\",\n        \"operator\": \"exact\",\n        \"value\": \"web\"\n      },\n      {\n        \"type\": \"event\",\n        \"key\": \"$exception_types\",\n        \"operator\": \"exact\",\n        \"value\": \"TypeError\"\n      },\n      {\n        \"type\": \"event\",\n        \"key\": \"$exception_sources\",\n        \"operator\": \"icontains\",\n        \"value\": \"\u002Fstatic\u002Fcheckout\u002F\"\n      },\n      {\n        \"type\": \"event\",\n        \"key\": \"$exception_values\",\n        \"operator\": \"icontains\",\n        \"value\": \"Cannot read property\"\n      }\n    ]\n  },\n  \"description\": \"Cleanup: collapse noisy checkout TypeError fingerprints (web)\"\n}\n",[1629],{"type":52,"tag":79,"props":1630,"children":1631},{"__ignoreMap":361},[1632,1640,1647,1672,1710,1735,1743,1780,1816,1853,1887,1896,1904,1940,1976,2012,2044,2052,2060,2096,2132,2168,2201,2209,2217,2253,2289,2325,2358,2367,2376,2385,2419],{"type":52,"tag":367,"props":1633,"children":1634},{"class":369,"line":370},[1635],{"type":52,"tag":367,"props":1636,"children":1637},{"style":374},[1638],{"type":57,"value":1639},"posthog:error-tracking-grouping-rules-create\n",{"type":52,"tag":367,"props":1641,"children":1642},{"class":369,"line":380},[1643],{"type":52,"tag":367,"props":1644,"children":1645},{"style":384},[1646],{"type":57,"value":387},{"type":52,"tag":367,"props":1648,"children":1649},{"class":369,"line":390},[1650,1654,1659,1663,1667],{"type":52,"tag":367,"props":1651,"children":1652},{"style":384},[1653],{"type":57,"value":396},{"type":52,"tag":367,"props":1655,"children":1656},{"style":399},[1657],{"type":57,"value":1658},"filters",{"type":52,"tag":367,"props":1660,"children":1661},{"style":384},[1662],{"type":57,"value":407},{"type":52,"tag":367,"props":1664,"children":1665},{"style":384},[1666],{"type":57,"value":412},{"type":52,"tag":367,"props":1668,"children":1669},{"style":384},[1670],{"type":57,"value":1671}," {\n",{"type":52,"tag":367,"props":1673,"children":1674},{"class":369,"line":435},[1675,1680,1685,1689,1693,1697,1702,1706],{"type":52,"tag":367,"props":1676,"children":1677},{"style":384},[1678],{"type":57,"value":1679},"    \"",{"type":52,"tag":367,"props":1681,"children":1682},{"style":572},[1683],{"type":57,"value":1684},"type",{"type":52,"tag":367,"props":1686,"children":1687},{"style":384},[1688],{"type":57,"value":407},{"type":52,"tag":367,"props":1690,"children":1691},{"style":384},[1692],{"type":57,"value":412},{"type":52,"tag":367,"props":1694,"children":1695},{"style":384},[1696],{"type":57,"value":417},{"type":52,"tag":367,"props":1698,"children":1699},{"style":420},[1700],{"type":57,"value":1701},"AND",{"type":52,"tag":367,"props":1703,"children":1704},{"style":384},[1705],{"type":57,"value":407},{"type":52,"tag":367,"props":1707,"children":1708},{"style":384},[1709],{"type":57,"value":432},{"type":52,"tag":367,"props":1711,"children":1712},{"class":369,"line":473},[1713,1717,1722,1726,1730],{"type":52,"tag":367,"props":1714,"children":1715},{"style":384},[1716],{"type":57,"value":1679},{"type":52,"tag":367,"props":1718,"children":1719},{"style":572},[1720],{"type":57,"value":1721},"values",{"type":52,"tag":367,"props":1723,"children":1724},{"style":384},[1725],{"type":57,"value":407},{"type":52,"tag":367,"props":1727,"children":1728},{"style":384},[1729],{"type":57,"value":412},{"type":52,"tag":367,"props":1731,"children":1732},{"style":384},[1733],{"type":57,"value":1734}," [\n",{"type":52,"tag":367,"props":1736,"children":1737},{"class":369,"line":504},[1738],{"type":52,"tag":367,"props":1739,"children":1740},{"style":384},[1741],{"type":57,"value":1742},"      {\n",{"type":52,"tag":367,"props":1744,"children":1745},{"class":369,"line":542},[1746,1751,1755,1759,1763,1767,1772,1776],{"type":52,"tag":367,"props":1747,"children":1748},{"style":384},[1749],{"type":57,"value":1750},"        \"",{"type":52,"tag":367,"props":1752,"children":1753},{"style":494},[1754],{"type":57,"value":1684},{"type":52,"tag":367,"props":1756,"children":1757},{"style":384},[1758],{"type":57,"value":407},{"type":52,"tag":367,"props":1760,"children":1761},{"style":384},[1762],{"type":57,"value":412},{"type":52,"tag":367,"props":1764,"children":1765},{"style":384},[1766],{"type":57,"value":417},{"type":52,"tag":367,"props":1768,"children":1769},{"style":420},[1770],{"type":57,"value":1771},"event",{"type":52,"tag":367,"props":1773,"children":1774},{"style":384},[1775],{"type":57,"value":407},{"type":52,"tag":367,"props":1777,"children":1778},{"style":384},[1779],{"type":57,"value":432},{"type":52,"tag":367,"props":1781,"children":1782},{"class":369,"line":604},[1783,1787,1792,1796,1800,1804,1808,1812],{"type":52,"tag":367,"props":1784,"children":1785},{"style":384},[1786],{"type":57,"value":1750},{"type":52,"tag":367,"props":1788,"children":1789},{"style":494},[1790],{"type":57,"value":1791},"key",{"type":52,"tag":367,"props":1793,"children":1794},{"style":384},[1795],{"type":57,"value":407},{"type":52,"tag":367,"props":1797,"children":1798},{"style":384},[1799],{"type":57,"value":412},{"type":52,"tag":367,"props":1801,"children":1802},{"style":384},[1803],{"type":57,"value":417},{"type":52,"tag":367,"props":1805,"children":1806},{"style":420},[1807],{"type":57,"value":831},{"type":52,"tag":367,"props":1809,"children":1810},{"style":384},[1811],{"type":57,"value":407},{"type":52,"tag":367,"props":1813,"children":1814},{"style":384},[1815],{"type":57,"value":432},{"type":52,"tag":367,"props":1817,"children":1819},{"class":369,"line":1818},9,[1820,1824,1829,1833,1837,1841,1845,1849],{"type":52,"tag":367,"props":1821,"children":1822},{"style":384},[1823],{"type":57,"value":1750},{"type":52,"tag":367,"props":1825,"children":1826},{"style":494},[1827],{"type":57,"value":1828},"operator",{"type":52,"tag":367,"props":1830,"children":1831},{"style":384},[1832],{"type":57,"value":407},{"type":52,"tag":367,"props":1834,"children":1835},{"style":384},[1836],{"type":57,"value":412},{"type":52,"tag":367,"props":1838,"children":1839},{"style":384},[1840],{"type":57,"value":417},{"type":52,"tag":367,"props":1842,"children":1843},{"style":420},[1844],{"type":57,"value":1391},{"type":52,"tag":367,"props":1846,"children":1847},{"style":384},[1848],{"type":57,"value":407},{"type":52,"tag":367,"props":1850,"children":1851},{"style":384},[1852],{"type":57,"value":432},{"type":52,"tag":367,"props":1854,"children":1856},{"class":369,"line":1855},10,[1857,1861,1866,1870,1874,1878,1882],{"type":52,"tag":367,"props":1858,"children":1859},{"style":384},[1860],{"type":57,"value":1750},{"type":52,"tag":367,"props":1862,"children":1863},{"style":494},[1864],{"type":57,"value":1865},"value",{"type":52,"tag":367,"props":1867,"children":1868},{"style":384},[1869],{"type":57,"value":407},{"type":52,"tag":367,"props":1871,"children":1872},{"style":384},[1873],{"type":57,"value":412},{"type":52,"tag":367,"props":1875,"children":1876},{"style":384},[1877],{"type":57,"value":417},{"type":52,"tag":367,"props":1879,"children":1880},{"style":420},[1881],{"type":57,"value":846},{"type":52,"tag":367,"props":1883,"children":1884},{"style":384},[1885],{"type":57,"value":1886},"\"\n",{"type":52,"tag":367,"props":1888,"children":1890},{"class":369,"line":1889},11,[1891],{"type":52,"tag":367,"props":1892,"children":1893},{"style":384},[1894],{"type":57,"value":1895},"      },\n",{"type":52,"tag":367,"props":1897,"children":1899},{"class":369,"line":1898},12,[1900],{"type":52,"tag":367,"props":1901,"children":1902},{"style":384},[1903],{"type":57,"value":1742},{"type":52,"tag":367,"props":1905,"children":1907},{"class":369,"line":1906},13,[1908,1912,1916,1920,1924,1928,1932,1936],{"type":52,"tag":367,"props":1909,"children":1910},{"style":384},[1911],{"type":57,"value":1750},{"type":52,"tag":367,"props":1913,"children":1914},{"style":494},[1915],{"type":57,"value":1684},{"type":52,"tag":367,"props":1917,"children":1918},{"style":384},[1919],{"type":57,"value":407},{"type":52,"tag":367,"props":1921,"children":1922},{"style":384},[1923],{"type":57,"value":412},{"type":52,"tag":367,"props":1925,"children":1926},{"style":384},[1927],{"type":57,"value":417},{"type":52,"tag":367,"props":1929,"children":1930},{"style":420},[1931],{"type":57,"value":1771},{"type":52,"tag":367,"props":1933,"children":1934},{"style":384},[1935],{"type":57,"value":407},{"type":52,"tag":367,"props":1937,"children":1938},{"style":384},[1939],{"type":57,"value":432},{"type":52,"tag":367,"props":1941,"children":1943},{"class":369,"line":1942},14,[1944,1948,1952,1956,1960,1964,1968,1972],{"type":52,"tag":367,"props":1945,"children":1946},{"style":384},[1947],{"type":57,"value":1750},{"type":52,"tag":367,"props":1949,"children":1950},{"style":494},[1951],{"type":57,"value":1791},{"type":52,"tag":367,"props":1953,"children":1954},{"style":384},[1955],{"type":57,"value":407},{"type":52,"tag":367,"props":1957,"children":1958},{"style":384},[1959],{"type":57,"value":412},{"type":52,"tag":367,"props":1961,"children":1962},{"style":384},[1963],{"type":57,"value":417},{"type":52,"tag":367,"props":1965,"children":1966},{"style":420},[1967],{"type":57,"value":913},{"type":52,"tag":367,"props":1969,"children":1970},{"style":384},[1971],{"type":57,"value":407},{"type":52,"tag":367,"props":1973,"children":1974},{"style":384},[1975],{"type":57,"value":432},{"type":52,"tag":367,"props":1977,"children":1979},{"class":369,"line":1978},15,[1980,1984,1988,1992,1996,2000,2004,2008],{"type":52,"tag":367,"props":1981,"children":1982},{"style":384},[1983],{"type":57,"value":1750},{"type":52,"tag":367,"props":1985,"children":1986},{"style":494},[1987],{"type":57,"value":1828},{"type":52,"tag":367,"props":1989,"children":1990},{"style":384},[1991],{"type":57,"value":407},{"type":52,"tag":367,"props":1993,"children":1994},{"style":384},[1995],{"type":57,"value":412},{"type":52,"tag":367,"props":1997,"children":1998},{"style":384},[1999],{"type":57,"value":417},{"type":52,"tag":367,"props":2001,"children":2002},{"style":420},[2003],{"type":57,"value":1391},{"type":52,"tag":367,"props":2005,"children":2006},{"style":384},[2007],{"type":57,"value":407},{"type":52,"tag":367,"props":2009,"children":2010},{"style":384},[2011],{"type":57,"value":432},{"type":52,"tag":367,"props":2013,"children":2015},{"class":369,"line":2014},16,[2016,2020,2024,2028,2032,2036,2040],{"type":52,"tag":367,"props":2017,"children":2018},{"style":384},[2019],{"type":57,"value":1750},{"type":52,"tag":367,"props":2021,"children":2022},{"style":494},[2023],{"type":57,"value":1865},{"type":52,"tag":367,"props":2025,"children":2026},{"style":384},[2027],{"type":57,"value":407},{"type":52,"tag":367,"props":2029,"children":2030},{"style":384},[2031],{"type":57,"value":412},{"type":52,"tag":367,"props":2033,"children":2034},{"style":384},[2035],{"type":57,"value":417},{"type":52,"tag":367,"props":2037,"children":2038},{"style":420},[2039],{"type":57,"value":84},{"type":52,"tag":367,"props":2041,"children":2042},{"style":384},[2043],{"type":57,"value":1886},{"type":52,"tag":367,"props":2045,"children":2047},{"class":369,"line":2046},17,[2048],{"type":52,"tag":367,"props":2049,"children":2050},{"style":384},[2051],{"type":57,"value":1895},{"type":52,"tag":367,"props":2053,"children":2055},{"class":369,"line":2054},18,[2056],{"type":52,"tag":367,"props":2057,"children":2058},{"style":384},[2059],{"type":57,"value":1742},{"type":52,"tag":367,"props":2061,"children":2063},{"class":369,"line":2062},19,[2064,2068,2072,2076,2080,2084,2088,2092],{"type":52,"tag":367,"props":2065,"children":2066},{"style":384},[2067],{"type":57,"value":1750},{"type":52,"tag":367,"props":2069,"children":2070},{"style":494},[2071],{"type":57,"value":1684},{"type":52,"tag":367,"props":2073,"children":2074},{"style":384},[2075],{"type":57,"value":407},{"type":52,"tag":367,"props":2077,"children":2078},{"style":384},[2079],{"type":57,"value":412},{"type":52,"tag":367,"props":2081,"children":2082},{"style":384},[2083],{"type":57,"value":417},{"type":52,"tag":367,"props":2085,"children":2086},{"style":420},[2087],{"type":57,"value":1771},{"type":52,"tag":367,"props":2089,"children":2090},{"style":384},[2091],{"type":57,"value":407},{"type":52,"tag":367,"props":2093,"children":2094},{"style":384},[2095],{"type":57,"value":432},{"type":52,"tag":367,"props":2097,"children":2099},{"class":369,"line":2098},20,[2100,2104,2108,2112,2116,2120,2124,2128],{"type":52,"tag":367,"props":2101,"children":2102},{"style":384},[2103],{"type":57,"value":1750},{"type":52,"tag":367,"props":2105,"children":2106},{"style":494},[2107],{"type":57,"value":1791},{"type":52,"tag":367,"props":2109,"children":2110},{"style":384},[2111],{"type":57,"value":407},{"type":52,"tag":367,"props":2113,"children":2114},{"style":384},[2115],{"type":57,"value":412},{"type":52,"tag":367,"props":2117,"children":2118},{"style":384},[2119],{"type":57,"value":417},{"type":52,"tag":367,"props":2121,"children":2122},{"style":420},[2123],{"type":57,"value":1375},{"type":52,"tag":367,"props":2125,"children":2126},{"style":384},[2127],{"type":57,"value":407},{"type":52,"tag":367,"props":2129,"children":2130},{"style":384},[2131],{"type":57,"value":432},{"type":52,"tag":367,"props":2133,"children":2135},{"class":369,"line":2134},21,[2136,2140,2144,2148,2152,2156,2160,2164],{"type":52,"tag":367,"props":2137,"children":2138},{"style":384},[2139],{"type":57,"value":1750},{"type":52,"tag":367,"props":2141,"children":2142},{"style":494},[2143],{"type":57,"value":1828},{"type":52,"tag":367,"props":2145,"children":2146},{"style":384},[2147],{"type":57,"value":407},{"type":52,"tag":367,"props":2149,"children":2150},{"style":384},[2151],{"type":57,"value":412},{"type":52,"tag":367,"props":2153,"children":2154},{"style":384},[2155],{"type":57,"value":417},{"type":52,"tag":367,"props":2157,"children":2158},{"style":420},[2159],{"type":57,"value":1405},{"type":52,"tag":367,"props":2161,"children":2162},{"style":384},[2163],{"type":57,"value":407},{"type":52,"tag":367,"props":2165,"children":2166},{"style":384},[2167],{"type":57,"value":432},{"type":52,"tag":367,"props":2169,"children":2171},{"class":369,"line":2170},22,[2172,2176,2180,2184,2188,2192,2197],{"type":52,"tag":367,"props":2173,"children":2174},{"style":384},[2175],{"type":57,"value":1750},{"type":52,"tag":367,"props":2177,"children":2178},{"style":494},[2179],{"type":57,"value":1865},{"type":52,"tag":367,"props":2181,"children":2182},{"style":384},[2183],{"type":57,"value":407},{"type":52,"tag":367,"props":2185,"children":2186},{"style":384},[2187],{"type":57,"value":412},{"type":52,"tag":367,"props":2189,"children":2190},{"style":384},[2191],{"type":57,"value":417},{"type":52,"tag":367,"props":2193,"children":2194},{"style":420},[2195],{"type":57,"value":2196},"\u002Fstatic\u002Fcheckout\u002F",{"type":52,"tag":367,"props":2198,"children":2199},{"style":384},[2200],{"type":57,"value":1886},{"type":52,"tag":367,"props":2202,"children":2204},{"class":369,"line":2203},23,[2205],{"type":52,"tag":367,"props":2206,"children":2207},{"style":384},[2208],{"type":57,"value":1895},{"type":52,"tag":367,"props":2210,"children":2212},{"class":369,"line":2211},24,[2213],{"type":52,"tag":367,"props":2214,"children":2215},{"style":384},[2216],{"type":57,"value":1742},{"type":52,"tag":367,"props":2218,"children":2220},{"class":369,"line":2219},25,[2221,2225,2229,2233,2237,2241,2245,2249],{"type":52,"tag":367,"props":2222,"children":2223},{"style":384},[2224],{"type":57,"value":1750},{"type":52,"tag":367,"props":2226,"children":2227},{"style":494},[2228],{"type":57,"value":1684},{"type":52,"tag":367,"props":2230,"children":2231},{"style":384},[2232],{"type":57,"value":407},{"type":52,"tag":367,"props":2234,"children":2235},{"style":384},[2236],{"type":57,"value":412},{"type":52,"tag":367,"props":2238,"children":2239},{"style":384},[2240],{"type":57,"value":417},{"type":52,"tag":367,"props":2242,"children":2243},{"style":420},[2244],{"type":57,"value":1771},{"type":52,"tag":367,"props":2246,"children":2247},{"style":384},[2248],{"type":57,"value":407},{"type":52,"tag":367,"props":2250,"children":2251},{"style":384},[2252],{"type":57,"value":432},{"type":52,"tag":367,"props":2254,"children":2256},{"class":369,"line":2255},26,[2257,2261,2265,2269,2273,2277,2281,2285],{"type":52,"tag":367,"props":2258,"children":2259},{"style":384},[2260],{"type":57,"value":1750},{"type":52,"tag":367,"props":2262,"children":2263},{"style":494},[2264],{"type":57,"value":1791},{"type":52,"tag":367,"props":2266,"children":2267},{"style":384},[2268],{"type":57,"value":407},{"type":52,"tag":367,"props":2270,"children":2271},{"style":384},[2272],{"type":57,"value":412},{"type":52,"tag":367,"props":2274,"children":2275},{"style":384},[2276],{"type":57,"value":417},{"type":52,"tag":367,"props":2278,"children":2279},{"style":420},[2280],{"type":57,"value":1367},{"type":52,"tag":367,"props":2282,"children":2283},{"style":384},[2284],{"type":57,"value":407},{"type":52,"tag":367,"props":2286,"children":2287},{"style":384},[2288],{"type":57,"value":432},{"type":52,"tag":367,"props":2290,"children":2292},{"class":369,"line":2291},27,[2293,2297,2301,2305,2309,2313,2317,2321],{"type":52,"tag":367,"props":2294,"children":2295},{"style":384},[2296],{"type":57,"value":1750},{"type":52,"tag":367,"props":2298,"children":2299},{"style":494},[2300],{"type":57,"value":1828},{"type":52,"tag":367,"props":2302,"children":2303},{"style":384},[2304],{"type":57,"value":407},{"type":52,"tag":367,"props":2306,"children":2307},{"style":384},[2308],{"type":57,"value":412},{"type":52,"tag":367,"props":2310,"children":2311},{"style":384},[2312],{"type":57,"value":417},{"type":52,"tag":367,"props":2314,"children":2315},{"style":420},[2316],{"type":57,"value":1405},{"type":52,"tag":367,"props":2318,"children":2319},{"style":384},[2320],{"type":57,"value":407},{"type":52,"tag":367,"props":2322,"children":2323},{"style":384},[2324],{"type":57,"value":432},{"type":52,"tag":367,"props":2326,"children":2328},{"class":369,"line":2327},28,[2329,2333,2337,2341,2345,2349,2354],{"type":52,"tag":367,"props":2330,"children":2331},{"style":384},[2332],{"type":57,"value":1750},{"type":52,"tag":367,"props":2334,"children":2335},{"style":494},[2336],{"type":57,"value":1865},{"type":52,"tag":367,"props":2338,"children":2339},{"style":384},[2340],{"type":57,"value":407},{"type":52,"tag":367,"props":2342,"children":2343},{"style":384},[2344],{"type":57,"value":412},{"type":52,"tag":367,"props":2346,"children":2347},{"style":384},[2348],{"type":57,"value":417},{"type":52,"tag":367,"props":2350,"children":2351},{"style":420},[2352],{"type":57,"value":2353},"Cannot read property",{"type":52,"tag":367,"props":2355,"children":2356},{"style":384},[2357],{"type":57,"value":1886},{"type":52,"tag":367,"props":2359,"children":2361},{"class":369,"line":2360},29,[2362],{"type":52,"tag":367,"props":2363,"children":2364},{"style":384},[2365],{"type":57,"value":2366},"      }\n",{"type":52,"tag":367,"props":2368,"children":2370},{"class":369,"line":2369},30,[2371],{"type":52,"tag":367,"props":2372,"children":2373},{"style":384},[2374],{"type":57,"value":2375},"    ]\n",{"type":52,"tag":367,"props":2377,"children":2379},{"class":369,"line":2378},31,[2380],{"type":52,"tag":367,"props":2381,"children":2382},{"style":384},[2383],{"type":57,"value":2384},"  },\n",{"type":52,"tag":367,"props":2386,"children":2388},{"class":369,"line":2387},32,[2389,2393,2398,2402,2406,2410,2415],{"type":52,"tag":367,"props":2390,"children":2391},{"style":384},[2392],{"type":57,"value":396},{"type":52,"tag":367,"props":2394,"children":2395},{"style":399},[2396],{"type":57,"value":2397},"description",{"type":52,"tag":367,"props":2399,"children":2400},{"style":384},[2401],{"type":57,"value":407},{"type":52,"tag":367,"props":2403,"children":2404},{"style":384},[2405],{"type":57,"value":412},{"type":52,"tag":367,"props":2407,"children":2408},{"style":384},[2409],{"type":57,"value":417},{"type":52,"tag":367,"props":2411,"children":2412},{"style":420},[2413],{"type":57,"value":2414},"Cleanup: collapse noisy checkout TypeError fingerprints (web)",{"type":52,"tag":367,"props":2416,"children":2417},{"style":384},[2418],{"type":57,"value":1886},{"type":52,"tag":367,"props":2420,"children":2422},{"class":369,"line":2421},33,[2423],{"type":52,"tag":367,"props":2424,"children":2425},{"style":384},[2426],{"type":57,"value":610},{"type":52,"tag":60,"props":2428,"children":2429},{},[2430,2432,2437],{"type":57,"value":2431},"Rules are evaluated in order. List existing rules first\n(",{"type":52,"tag":79,"props":2433,"children":2435},{"className":2434},[],[2436],{"type":57,"value":250},{"type":57,"value":2438},") — if a rule already partially\ncovers the pattern, prefer adjusting its filter over stacking a near-duplicate.",{"type":52,"tag":60,"props":2440,"children":2441},{},[2442,2444,2450],{"type":57,"value":2443},"The optional ",{"type":52,"tag":79,"props":2445,"children":2447},{"className":2446},[],[2448],{"type":57,"value":2449},"assignee",{"type":57,"value":2451}," field auto-assigns issues created by the rule. Skip it\nunless the user explicitly wants ownership baked into the rule.",{"type":52,"tag":344,"props":2453,"children":2455},{"id":2454},"step-6-verify-and-consolidate",[2456],{"type":57,"value":2457},"Step 6 — Verify and consolidate",{"type":52,"tag":60,"props":2459,"children":2460},{},[2461,2463,2468],{"type":57,"value":2462},"Sample the merged issue's recent events to confirm the merge succeeded.\nWatch for the rule's ",{"type":52,"tag":79,"props":2464,"children":2466},{"className":2465},[],[2467],{"type":57,"value":314},{"type":57,"value":2469}," fingerprint to start matching\nevents — the first match creates a new issue (or routes to whatever was\nalready bound to that fingerprint). To keep events under your historical\ntarget rather than scattered across the new custom-rule issue, run a second\nmerge folding the custom-rule issue into the target.",{"type":52,"tag":60,"props":2471,"children":2472},{},[2473],{"type":57,"value":2474},"If new (non-rule) fingerprints continue appearing despite the rule, its\nfilter is too narrow — widen it.",{"type":52,"tag":95,"props":2476,"children":2478},{"id":2477},"tips",[2479],{"type":57,"value":2480},"Tips",{"type":52,"tag":285,"props":2482,"children":2483},{},[2484,2504,2516,2521,2534],{"type":52,"tag":289,"props":2485,"children":2486},{},[2487,2489,2495,2497,2502],{"type":57,"value":2488},"The user often confuses grouping rules with assignment rules. Grouping rules\ndecide ",{"type":52,"tag":2490,"props":2491,"children":2492},"em",{},[2493],{"type":57,"value":2494},"which",{"type":57,"value":2496}," issue an event lands in. Assignment rules decide ",{"type":52,"tag":2490,"props":2498,"children":2499},{},[2500],{"type":57,"value":2501},"who",{"type":57,"value":2503}," owns the\nresulting issue.",{"type":52,"tag":289,"props":2505,"children":2506},{},[2507,2509,2514],{"type":57,"value":2508},"Don't merge issues that \"look similar\" without inspecting events. Two\n",{"type":52,"tag":79,"props":2510,"children":2512},{"className":2511},[],[2513],{"type":57,"value":84},{"type":57,"value":2515},"s in different files are different bugs.",{"type":52,"tag":289,"props":2517,"children":2518},{},[2519],{"type":57,"value":2520},"Stack frames are the canonical grouping signal — ingestion already\nfingerprints on the stack, so a stable stack groups itself. A grouping rule\nis for cases where the natural fingerprint sprays (volatile filenames,\nhashed function names, dynamic line numbers) and you need to override it.",{"type":52,"tag":289,"props":2522,"children":2523},{},[2524,2526,2532],{"type":57,"value":2525},"Disabling or tightening a grouping rule does not retroactively un-group\nexisting events; future events route correctly, past events stay where they\nare. Use ",{"type":52,"tag":79,"props":2527,"children":2529},{"className":2528},[],[2530],{"type":57,"value":2531},"error-tracking-issues-split-create",{"type":57,"value":2533}," if you need to surgically\nseparate fingerprints back out of a merged issue.",{"type":52,"tag":289,"props":2535,"children":2536},{},[2537],{"type":57,"value":2538},"Grouping rules are visible in the UI under Project settings → Error tracking →\nGrouping rules; mention this when the user asks where rules live.",{"type":52,"tag":2540,"props":2541,"children":2542},"style",{},[2543],{"type":57,"value":2544},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2546,"total":2711},[2547,2561,2573,2585,2598,2611,2627,2644,2658,2673,2683,2701],{"slug":2548,"name":2548,"fn":2549,"description":2550,"org":2551,"tags":2552,"stars":20,"repoUrl":21,"updatedAt":2560},"analyzing-expensive-users","analyze expensive users in AI observability","Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top spenders, expensive users, per-user LLM cost, user-level cost drivers, or patterns behind high AI observability spend.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2553,2555,2558,2559],{"name":2554,"slug":28,"type":15},"Analytics",{"name":2556,"slug":2557,"type":15},"Cost Optimization","cost-optimization",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-28T05:34:11.117757",{"slug":2562,"name":2562,"fn":2563,"description":2564,"org":2565,"tags":2566,"stars":20,"repoUrl":21,"updatedAt":2572},"auditing-endpoints","audit PostHog project endpoints","Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks \"what endpoints can I clean up?\", \"are any of my endpoints broken?\", \"which materialised versions are still being called?\", or wants a one-shot cleanup pass over the Endpoints product. Produces a prioritised report grouped by issue type, with recommended actions but does not modify anything without explicit confirmation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2567,2568,2571],{"name":2554,"slug":28,"type":15},{"name":2569,"slug":2570,"type":15},"Audit","audit",{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":2574,"name":2574,"fn":2575,"description":2576,"org":2577,"tags":2578,"stars":20,"repoUrl":21,"updatedAt":2584},"auditing-warehouse-source-health","audit PostHog data warehouse source health","Audit the health of a PostHog project's data warehouse sources and syncs — find every broken or degraded source connection, sync schema, and webhook channel. Use when the user asks \"why are my imports failing?\", \"what's broken with my sources?\", \"why is my warehouse data stale?\", or wants a one-shot triage of source\u002Fsync health before deciding where to dig in. Produces a prioritized report grouped by severity, with recommended next steps. For materialized-view health use `auditing-warehouse-view-health`; for a single failing sync use `diagnosing-failed-warehouse-syncs`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2579,2580,2582,2583],{"name":2569,"slug":2570,"type":15},{"name":2581,"slug":30,"type":15},"Data Warehouse",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":2586,"name":2586,"fn":2587,"description":2588,"org":2589,"tags":2590,"stars":20,"repoUrl":21,"updatedAt":2597},"auditing-warehouse-view-health","audit PostHog materialized view health","Audit the health of a PostHog project's materialized views (saved queries) — find every failed materialization and flag unused or stale materialized views that cost storage and compute. Use when the user asks \"which of my views are broken?\", \"why is this materialized view failing?\", \"are any of my views wasting compute?\", or wants a one-shot triage of view health. For source\u002Fsync health use `auditing-warehouse-source-health`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2591,2592,2593,2596],{"name":2569,"slug":2570,"type":15},{"name":2581,"slug":30,"type":15},{"name":2594,"slug":2595,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":2599,"name":2599,"fn":2600,"description":2601,"org":2602,"tags":2603,"stars":20,"repoUrl":21,"updatedAt":2610},"authoring-error-tracking-alerts","author PostHog error tracking alerts","Author error tracking alerts that fire when an issue is created, reopened, or starts spiking. Use when the user asks to set up error notifications, route exceptions to Slack\u002Fwebhook\u002FLinear, or evaluate which error events are worth alerting on. Covers trigger-event selection, integration choice, dedup against existing alerts, and shipping with the canonical message body shape.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2604,2607,2608,2609],{"name":2605,"slug":2606,"type":15},"Alerting","alerting",{"name":18,"slug":19,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":2612,"name":2612,"fn":2613,"description":2614,"org":2615,"tags":2616,"stars":20,"repoUrl":21,"updatedAt":2626},"authoring-log-alerts","author log alerts in PostHog","Author useful, low-noise log alerts on services in a PostHog project. Use when the user asks to set up alerts for their logs, suggest alerts they should add, or evaluate whether a service is worth monitoring. Covers service triage, baseline characterisation, threshold drafting, back-testing via simulate, and shipping with a notification destination.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2617,2618,2621,2622,2625],{"name":2554,"slug":28,"type":15},{"name":2619,"slug":2620,"type":15},"Monitoring","monitoring",{"name":13,"slug":14,"type":15},{"name":2623,"slug":2624,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":2628,"name":2628,"fn":2629,"description":2630,"org":2631,"tags":2632,"stars":20,"repoUrl":21,"updatedAt":2643},"building-workflows","build and edit PostHog workflows","Build, edit, test, enable, and monitor PostHog workflows over MCP. Author the action\u002Fedge graph so it runs and opens cleanly in the visual editor, then change drafts surgically with patch operations. Use when asked to build, set up, automate, change, fix, or debug a workflow, campaign, broadcast, drip sequence, or event-triggered automation in the workflows product.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2633,2636,2639,2640],{"name":2634,"slug":2635,"type":15},"Automation","automation",{"name":2637,"slug":2638,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},{"name":2641,"slug":2642,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",{"slug":2645,"name":2645,"fn":2646,"description":2647,"org":2648,"tags":2649,"stars":20,"repoUrl":21,"updatedAt":2657},"check-posthog-loading","inspect PostHog SDK loading across URLs","Inspect how the PostHog JavaScript SDK is loaded across a list of URLs. Use to confirm consistent installation across pages, find pages missing the snippet, detect mismatched API keys or hosts between pages, and verify the load method (head snippet vs deferred vs array.js).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2650,2651,2652,2655,2656],{"name":2554,"slug":28,"type":15},{"name":18,"slug":19,"type":15},{"name":2653,"slug":2654,"type":15},"Frontend","frontend",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":2659,"name":2659,"fn":2660,"description":2661,"org":2662,"tags":2663,"stars":20,"repoUrl":21,"updatedAt":2672},"consuming-endpoints-from-client-code","integrate PostHog endpoints into client applications","Wire a PostHog endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api\u002Fopenapi-ts, sending the right auth header, shaping the variables payload (HogQL code_name vs insight breakdown property), handling rate-limit and materialised-endpoint error responses. Use when the user says \"how do I call my endpoint\", \"generate a client for this\", or \"what auth header do I use\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2664,2667,2668,2669],{"name":2665,"slug":2666,"type":15},"API Development","api-development",{"name":2653,"slug":2654,"type":15},{"name":9,"slug":8,"type":15},{"name":2670,"slug":2671,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":2674,"name":2674,"fn":2675,"description":2676,"org":2677,"tags":2678,"stars":20,"repoUrl":21,"updatedAt":2682},"copying-endpoints-across-projects","copy PostHog endpoints across projects","Copy a PostHog endpoint (a saved HogQL\u002Finsight query exposed as an API route) to another project in the same organization, or duplicate it under a new name in the same project. Use when the user wants to duplicate an endpoint, promote an endpoint from staging to production, replicate an endpoint's query\u002Fvariables\u002Ffreshness config in another workspace, or clone an endpoint to iterate on it. Unlike feature flags and experiments, endpoints have NO native cross-project copy tool — this skill covers the read-then-recreate flow (endpoint-get then endpoint-create), the active-project switching it requires, name-collision checks, and the safe defaults (land unmaterialised in the target, verify with endpoint-run). Does not cover editing endpoint versions (see managing-endpoint-versions) or authoring a brand-new endpoint from scratch (see creating-an-endpoint).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2679,2680,2681],{"name":2665,"slug":2666,"type":15},{"name":2623,"slug":2624,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":2684,"name":2684,"fn":2685,"description":2686,"org":2687,"tags":2688,"stars":20,"repoUrl":21,"updatedAt":2700},"creating-ai-subscription","schedule recurring AI-generated PostHog reports","Create a recurring AI-generated PostHog report — schedule a free-text prompt to run on a cron, with the LLM-synthesized markdown delivered to email or Slack on each tick. Use when the user wants a recurring AI summary of X on any cadence (daily, weekly, monthly, yearly) rather than a one-off report. (To attach an AI summary to an existing insight\u002Fdashboard subscription instead of a free-text prompt, see `managing-subscriptions` and its `summary_enabled` option.)\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2689,2690,2693,2694,2697],{"name":2634,"slug":2635,"type":15},{"name":2691,"slug":2692,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":2695,"slug":2696,"type":15},"Reporting","reporting",{"name":2698,"slug":2699,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":2702,"name":2702,"fn":2703,"description":2704,"org":2705,"tags":2706,"stars":20,"repoUrl":21,"updatedAt":2710},"creating-an-endpoint","create PostHog API endpoints","Create a PostHog endpoint with the right shape on the first try — covers query kind choice, name conventions, what to expose as variables (HogQL code_name vs insight breakdown), data_freshness_seconds, and whether to materialise on day one. Use when the user says \"create an endpoint\", \"expose this query as an API\", \"turn this insight into an endpoint\", or asks for help structuring a new endpoint. Steers away from common mistakes: materialising a query with cohort breakdowns or compare mode, inline-only variables on a materialised endpoint, unbounded date ranges, ambiguous names.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2707,2708,2709],{"name":2554,"slug":28,"type":15},{"name":2665,"slug":2666,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231,{"items":2713,"total":2763},[2714,2721,2727,2734,2741,2748,2756],{"slug":2548,"name":2548,"fn":2549,"description":2550,"org":2715,"tags":2716,"stars":20,"repoUrl":21,"updatedAt":2560},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2717,2718,2719,2720],{"name":2554,"slug":28,"type":15},{"name":2556,"slug":2557,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":2562,"name":2562,"fn":2563,"description":2564,"org":2722,"tags":2723,"stars":20,"repoUrl":21,"updatedAt":2572},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2724,2725,2726],{"name":2554,"slug":28,"type":15},{"name":2569,"slug":2570,"type":15},{"name":9,"slug":8,"type":15},{"slug":2574,"name":2574,"fn":2575,"description":2576,"org":2728,"tags":2729,"stars":20,"repoUrl":21,"updatedAt":2584},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2730,2731,2732,2733],{"name":2569,"slug":2570,"type":15},{"name":2581,"slug":30,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":2586,"name":2586,"fn":2587,"description":2588,"org":2735,"tags":2736,"stars":20,"repoUrl":21,"updatedAt":2597},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2737,2738,2739,2740],{"name":2569,"slug":2570,"type":15},{"name":2581,"slug":30,"type":15},{"name":2594,"slug":2595,"type":15},{"name":9,"slug":8,"type":15},{"slug":2599,"name":2599,"fn":2600,"description":2601,"org":2742,"tags":2743,"stars":20,"repoUrl":21,"updatedAt":2610},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2744,2745,2746,2747],{"name":2605,"slug":2606,"type":15},{"name":18,"slug":19,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":2612,"name":2612,"fn":2613,"description":2614,"org":2749,"tags":2750,"stars":20,"repoUrl":21,"updatedAt":2626},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2751,2752,2753,2754,2755],{"name":2554,"slug":28,"type":15},{"name":2619,"slug":2620,"type":15},{"name":13,"slug":14,"type":15},{"name":2623,"slug":2624,"type":15},{"name":9,"slug":8,"type":15},{"slug":2628,"name":2628,"fn":2629,"description":2630,"org":2757,"tags":2758,"stars":20,"repoUrl":21,"updatedAt":2643},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2759,2760,2761,2762],{"name":2634,"slug":2635,"type":15},{"name":2637,"slug":2638,"type":15},{"name":9,"slug":8,"type":15},{"name":2641,"slug":2642,"type":15},61]