When asking for help and support, please provide as much information as possible. This should include:
- Steps to reproduce an issue.
I am trying to do a bulk import of device groups static form using the API with a python script and I got the following error
{
“status”: “error”,
“message”: “We couldn’t parse your rule”
}
Then I tried just to do a curl to the API for testing and I am getting the same error
curl -H ‘X-Auth-Token: VALID TOKEN USED’ -X POST -d ‘{“name”:“HQ”,“type”:“static”,“devices”:[2,130]}’ http://localhost:8080/api/v0/devicegroups
{
“status”: “error”,
“message”: “We couldn’t parse your rule”
}