[IAG] Failed to use the API open interface [Get application traffic ranking]
Problem Description

856265e7b37a2cbdcf.png (27.53 KB)
According to the interface document test, the API open interface is used to read the application traffic ranking of the device, and it is found that the reading fails.

351305e7b37b3cbb8a.png (39.61 KB)
The error is as follows:

909095e7b3815b3ece.png (33.92 KB)
Process——
- Check the configuration and find that the line parameters are not filled in

106825e7b3861e8a3b.png (35.2 KB)
The document example requires filling in parameters such as top, groups, and line

776605e7b3881c85e2.png (20.57 KB)
- After filling in the form, the same error is still reported. The configuration is as follows:

775635e7b38c5b694c.png (70.72 KB)
Root cause
The groups parameter needs to be filled in with the groups created on ac. If the groups group1 and group2 in the example do not exist, you can fill in the "/" group, which is the root group

57655e7b38ffef088.png (15.17 KB)
solution
After modifying and using the correct top, groups, and line parameters, you can read the data normally.

288455e7b396cf0d33.png (14.99 KB)
Note:
line:0 means line 1, line:1 means line 2, and so on
up is the upstream traffic, down is the downstream traffic

492525e7b3ba1443e8.png (44 KB)
Original Link
https://support.sangfor.com.cn/cases/list?product_id=22&type=1&category_id=7442&isOpen=true