My Oracle Support Banner

UA |REST API Metric Endpoint Giving ERROR : /refresh/assure1/www/packages/metric/src/api/AvailabilityData.php on line 190 .Trying to access array offset on value of type bool (Doc ID 3047827.1)

Last updated on SEPTEMBER 23, 2024

Applies to:

Oracle Communications Unified Assurance - Version 6.0.4.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 6.0.4 version, REST API


The user is trying to use the documented REST API call with OR without optional values  but he is getting the bellow ERROR

Sample REST API call  URLs being used by user :


https://<HOSTNAME>/api/metric/AvailabilityData/read?DeviceName=testdevice1&MetricType=Latency&InstanceName=Device

OR

https://<HOSTNAME>/api/metric/AvailabilityData/read?DeviceName=testdevice1&MetricType=Latency&InstanceName=Device&DeviceZoneName=Default First Zone&TimeRange=now-24h..now

 

 

 

This  REST end-point : /api/metric/AvailabilityData/read      has been documented  here.



 

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.