# mejora_needs_package

> A line that replaces another (an upgrade) belongs to a package.

**Upgrade needs a package** · HTTP 422

## What it means

A line that replaces another (an upgrade) belongs to a package.

## What to do

Set `packageId`.

## Example

```json
{
  "type": "https://api.bymundi.com/problems/mejora_needs_package",
  "title": "Upgrade needs a package",
  "status": 422,
  "detail": "A line that replaces another (an upgrade) belongs to a package.",
  "code": "mejora_needs_package",
  "requestId": "req_…"
}
```

How to read any error: [Errors guide](https://api.bymundi.com/docs/guides/errors.md).
