Problems overriding a Panorama template via the XML API

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Problems overriding a Panorama template via the XML API

L0 Member

I'm trying to disable via the XML API a IPSEC tunnel on a firewall which was configured using Panorama. I can manage to disable a locally created tunnel with the following GET request:




However when I change the action from edit to override it gives me a seemingly nonsensical and contradictory error:


<response status="error" code="12">
<line>Object cannot be overridden </line>


According to the documentation, error code 12 means an invalid xpath or element. I dont think this is accurate considering that the xpath and element work fine when the action is edit. And the message doesnt make sense considering that I can override this object via the web UI. Is anyone here familiar with doing overrides via the XML API and know what i'm doing wrong? 


And if I use the debug cli on on command and create an override via the CLI, it tells me XML request is

<request cmd="override" obj="/config/devices/entry[@name='localhost.localdomain']/network/tunnel/ipsec/entry[@name='Azure-DR']" cookie="9297669682826545"></request>

According to this KB article, the GET request should be


But that gives me the error:

<response status="error" code="400">
<msg>Missing value for parameter "element".</msg>

If I remove the element parameter it gives me the same error, and any value I specify for the element parameter gives me the error :

<response status="error" code="12">
<line>Request doesn't have an object to be added</line>
  • 0 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!