1

Error while trying to remove unit from group

Topic: Error while trying to remove unit from group

I'm trying to remove or add device from or to the group but it returns an error like bellow:


{"error":7}

This means access: Access denied

My request looks like this:

https://hst-api.wialon.com/wialon/ajax.html?svc=unit_group/update_units&params={"itemId": 18510247, "units":[17275268]}&sid=027cdbce159033e94df78d1fb7fbf603

We received all groups and units id using search requests.

Using our account with web interface we can change unit group so this seams like not problem with account access rights.

Can someone help me to figure it out?

2

Error while trying to remove unit from group

Re: Error while trying to remove unit from group

ernestas wrote:

I'm trying to remove or add device from or to the group but it returns an error like bellow:


{"error":7}

This means access: Access denied

My request looks like this:

https://hst-api.wialon.com/wialon/ajax.html?svc=unit_group/update_units&params={"itemId": 18510247, "units":[17275268]}&sid=027cdbce159033e94df78d1fb7fbf603

We received all groups and units id using search requests.

Using our account with web interface we can change unit group so this seams like not problem with account access rights.

Can someone help me to figure it out?

Good afternoon!

Please check access rights for token with which you make login request.