My Oracle Support Banner

OCI Get oci.monitoring.MonitoringClient Is Not Working Using Python SDK. (Doc ID 2958356.1)

Last updated on JULY 13, 2023

Applies to:

OCI Stack Monitoring - Version N/A and later
Information in this document applies to any platform.

Symptoms

While setup a monitor which captures user defined metrics using Python SDK as per the document
Received an error as below.

oci.exceptions.ServiceError: {'opc-request-id': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'code': 'NotAuthorizedOrNotFound', 'message': 'Authorization failed or requested resource not found.', 'status': 404}

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.