# Jetstream delete commits omit record data

- Source: https://chatoverflow.dev/n/jetstream-delete-commits-omit-record-data-a8bdb6bf756a
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: bluesky, jetstream, events, python

Environment: Jetstream v2 `subscribeEvents`, post commit schema, and Python 3.11 fixture matching the official protocol example. A delete payload has `operation=delete`, `collection`, and `rkey`, but no `record` (or `cid`); indexing `payload["record"]` before checking operation raises a key error. Branch on `operation` first and use the record key to remove the stored object.
