Reported by Angela. To reproduce,
from onc import ONC
onc = ONC()
deviceCode = 'RBRQUARTZ3BPRZERO207223'
params = {
"outputFormat": "object",
"deviceCode": deviceCode,
"dateFrom": "2022-04-05T03:28:19.917Z",
"dateTo": "2022-04-06T00:00:00.000Z",
}
onc.getRawdata(params, allPages=True)
The root cause is that using outputFormat=object changes the format of the response. Scalar data service might also have this issue.