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