---
title: RELKIT_TASK_STREAM_RETENTION
description: "Stream item belongs to an old attempt."
pagination: false
search:
  keywords: [RELKIT_TASK_STREAM_RETENTION]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Stream item belongs to an old attempt.**

## What happened

The provider saved a stream item for a different attempt of this run than the one now running.

## What to do

Make sure only the current attempt emits stream items. If the provider is custom, return the attempt's generation with each saved item.

Reported by `relkit/diagnostics`, `relkit/jobs`.

See [all error codes](/docs/errors).
