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.