1

I'm getting error: 5 what I'm doing wrong?

(23/11/2021 13:35:33 отредактировано ramzi87)

Тема: I'm getting error: 5 what I'm doing wrong?

Hello,
I am sending this API Request to get the first row with its subrows which nesting level is 2 or less but i get  error 5     (Error performing request) what I'm doing wrong?

https://hst-api.wialon.com/wialon/ajax.html?svc=report/select_result_rows&params={"tableIndex": 0, "config": {"type": "row", "data": {"from": 0, "to": 0, "level": 2}}}&sid=the key

Note: I send this API Request before the above one:

https://hst-api.wialon.com/wialon/ajax.html?svc=report/exec_report&params={"reportResourceId": 21047901, "reportTemplateId": 9, "reportObjectId": 23429224, "reportObjectSecId": 0, "interval": {"from": 1635721200, "to": 1635980400, "flags": 0}, "remoteExec": 1}&sid=the key

2

I'm getting error: 5 what I'm doing wrong?

Re: I'm getting error: 5 what I'm doing wrong?

Hello!

it seems like not data for report.
Do you get result in response ("reportResult")  for request exec_report, like

"tables": [{
            "name": "unit_trips",
            "label": " Trips",
            "flags": 4497,
            "rows": 16,
            "level": 2,
            "columns": 16,
.....
.....}

Diana Cheley
Wialon Hosting Expert
Gurtam