Report result gives "error 5"

Topic: Report result gives "error 5"

Hello, so im trying to execute this API request but when i do it gives me "error 5" wich means Error performing request

https://hst-api.wialon.com/wialon/ajax.html?svc=report/get_result_rows&params={"tableIndex":0,"indexFrom":0,"indexTo":0}&sid=<MY SID>

I'm reading the documentation and the params are ok for the request so my question is  why does it gives me this message??


Report result gives "error 5"

Re: Report result gives "error 5"

You can not get result row before executing report itself. It means you have to send sequence of requests

1) Execute report report/exec_report
2) Get its result rows report/get_result_rows

You can find sample here https://sdk.wialon.com/wiki/en/sidebar/ … es/reports