Skip to content
Black Friday: 50% off for life for the first 20 customers, then 40% off your first year. Ends November 30.
Error codes · realuptime errors ingest

RU-4008: Referenced previous release not found

POST /api/v1/errors/releases named a `previousRelease` that does not exist yet for this project. Releases link to a release that ALREADY exists (from an earlier announcement or from an event that tagged it); this call never creates the release it points at.

Where it is raised

  • POST /api/v1/errors/releases

What triggers it

The route looks previousRelease up among this project's stored releases and refuses when none matches. Leaving it out is always allowed, and the route then infers the most recent release it has seen.

Example response

POST /api/v1/errors/releases
HTTP 400

{
  "error": "previousRelease does not name an existing release for this project. Announce releases in order, or omit previousRelease to infer it.",
  "code": "RU-4008"
}

Common causes

  • A typo in the `previousRelease` version string.
  • Announcing releases out of order: the release being named as "previous" has not shipped an event or been announced yet.

How to fix it

  1. Check the exact release string with GET /api/v1/errors/projects/:id/issues?release=... or the dashboard's Releases section.
  2. Announce releases in shipped order, or omit `previousRelease` and let it infer the most recently seen one.

Related codes