cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Who Me Too'd this topic

XML API commit-all not working

L3 Networker

Hi all,

 

Does anybody have an idea why the following happens, and what the solution might be?

 

I'm trying to perform a commit-all via the REST API using the the following URL:

https://panorama.domain/api/?REST_API_TOKEN=hash&type=commit&action=all&cmd=<commit-all><shared-policy><device-group>"Group-Name"</device-group></shared-policy></commit-all>

 

I get the following response even though the name of the device-group is correct:

 

<response status="error" code="17">
<msg>
<line>
commit-all -> shared-policy -> device-group has unexpected text.
</line>
<line>
commit-all -> shared-policy -> device-group is invalid
</line>
</msg>
</response>

 

Who Me Too'd this topic