Skip to content

delegate_compartment_to_mandate_mandate_has_no_target_allocation

delegate_compartment_to_mandate_mandate_has_no_target_allocation

Description

The mandate has no target allocation yet, so delegation cannot compute a switch.

HTTP Status

422 Unprocessable Content

doc_url Format

The doc_url value is an absolute URL and changes by environment:

<docs-base-url>/errors/delegate_compartment_to_mandate_mandate_has_no_target_allocation

Typical Causes

  • The mandate was created without a target allocation.
  • The target allocation has not been created or persisted yet.
  • The caller referenced the wrong mandate.

Example

Response:

json
{
  "errors": [
    {
      "code": "delegate_compartment_to_mandate_mandate_has_no_target_allocation",
      "message": "Failed to delegate compartment to mandate",
      "doc_url": "https://docs.example.com/errors/delegate_compartment_to_mandate_mandate_has_no_target_allocation"
    }
  ]
}

How To Fix

  1. Create and persist a target allocation for the mandate first.
  2. Verify the mandate ID before retrying.
  3. Retry the delegation after the target allocation exists.