Skip to content

OCI OCE API returning 503 ServiceUnavailable while listing instances via SDK #854

@senthil262006

Description

@senthil262006

Description:
We are running an OCI inventory script using the Oracle Python SDK to list all services across compartments and regions.

During execution, we consistently receive a 503 ServiceUnavailable error when calling the OCE (Oracle Content and Experience) API.

Error Details:

Service: Oracle Content and Experience Cloud
Operation: list_oce_instances
Status Code: 503
Error Code: ServiceUnavailable
Endpoint: https://cp.oce.eu-amsterdam-1.ocp.oraclecloud.com/20190912/oceInstances (also observed in me-dubai-1)

Sample Error Message:

ServiceUnavailable (503)
operation_name: list_oce_instances
message: Service Unavailable
client_version: Oracle-PythonSDK/2.154.3

Impact:

Unable to retrieve OCE resource inventory
Script execution shows repeated errors across all compartments
Other OCI services are working correctly

Environment Details:

OCI Python SDK Version: 2.154.3
Authentication: Config file / API key
Regions tested:
eu-amsterdam-1
me-dubai-1
Compartments: Multiple (issue reproducible across all)

Steps to Reproduce:

Execute OCI Python SDK call:

oce_client.list_oce_instances(compartment_id)
Observe 503 ServiceUnavailable response

Expected Behavior:

API should return either:
List of OCE instances, OR
Empty response if no resources exist

Actual Behavior:

API returns 503 ServiceUnavailable consistently

Additional Notes:

Issue occurs across multiple regions and compartments
Other OCI service APIs function normally
Temporary workaround implemented by excluding OCE service from inventory script

Request:

Please confirm if there is an outage or limitation with OCE API
Verify if OCE service is enabled/accessible for this tenancy
Provide guidance or fix to retrieve OCE instances without errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions