---
url: /errors/last_active_compartment.md
---
# `LAST_ACTIVE_COMPARTMENT`

## Description

The policy must retain at least one active compartment.

## HTTP Status

`422 Unprocessable Entity`

## `doc_url` Format

`<docs-base-url>/errors/last_active_compartment`

## Typical Cause

The caller requested archival of the policy's only active compartment.

## How To Fix

Keep one active compartment. Close the policy through total surrender when the policy must end.
