compartment_not_found โ
compartment_not_found
Description โ
The requested compartment does not exist in the current environment or tenant.
HTTP Status โ
404 Not Found
doc_url Format โ
The doc_url value is an absolute URL and changes by environment:
<docs-base-url>/errors/compartment_not_found
Typical Causes โ
- The compartment ID is wrong or stale.
- The compartment was deleted or never created.
- The request targets the wrong tenant or environment.
Example โ
Response:
json
{
"errors": [
{
"code": "compartment_not_found",
"message": "Compartment with id: '00000000-0000-4000-8000-000000000000' was not found",
"doc_url": "https://docs.example.com/errors/compartment_not_found"
}
]
}How To Fix โ
- Verify the compartment ID and request path.
- Ensure the compartment exists in the target environment.
- Retry with a valid existing identifier.