---
url: /errors/premium_request_compartment_mismatch.md
---
# `PREMIUM_REQUEST_COMPARTMENT_MISMATCH`

`PREMIUM_REQUEST_COMPARTMENT_MISMATCH`

## Description

The premium request exists but does not belong to the compartment the caller
targeted.

## HTTP Status

`404 Not Found`

## `doc_url` Format

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

## Typical Cause

A `POST …/premium-requests/:premiumRequestId/premium-allocations` request was
made with a `compartmentId` that is not the owning compartment of the premium
request.

## Example

```json
{
  "errors": [{
    "code": "PREMIUM_REQUEST_COMPARTMENT_MISMATCH",
    "message": "Premium request '…' does not belong to compartment '…' (compartment '…')",
    "doc_url": "https://docs.example.com/errors/premium_request_compartment_mismatch"
  }]
}
```

## How To Fix

Target the compartment that owns the premium request, or look up the premium
request by its correct owning compartment.
