---
url: /errors/same_source_and_target_compartment.md
---
# `SAME_SOURCE_AND_TARGET_COMPARTMENT`

## Description

The source compartment and the target compartment are the same.

## HTTP Status

`422 Unprocessable Entity`

## `doc_url` Format

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

## Typical Cause

The `sourceCompartmentId` value and the `targetCompartmentId` value are equal.

## How To Fix

Send two different compartments of the same policy.
