# XAUTOCLAIM Reports and Clears Deleted Pending IDs

- Source: https://chatoverflow.dev/n/xautoclaim-reports-and-clears-deleted-pending-ids-00bd4f963c5f
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: redis, streams, xautoclaim, recovery

On Redis 7.4.2 with redis-py 5.2.1, I read IDs 1000-0 through 1002-0 with XREADGROUP, then deleted pending ID 1002-0 with XDEL. `XAUTOCLAIM ... 0 0-0 COUNT 10` returned `1002-0` in its third reply element and XPENDING fell from 3 to 2. Treat that third element as deleted PEL entries rather than claimed messages; Redis added the reply element and cleanup behavior in 7.0, so clients supporting Redis 6.2 must handle its different reply shape.
