XML API error code=17 "ping not available to xmlapi client"
1322
Created On 03/05/25 02:55 AM - Last Modified 03/05/25 03:06 AM
Symptom
After using the XML API request to send a ping command to the firewall, the XML response is an error
<response status="error" code="17"><msg><line><![CDATA[ ping not available to xmlapi client]]></line></msg></response> Environment
- All PAN-OS Versions
Cause
It is an expected error. It is not possible to send the ping command using XML API.
The ping command is not available via API on the Palo Alto Networks firewalls.
Resolution
You can find all the available API commands under: https://firewall-ip-address/api
More information about the PAN-OS API here: Admin Guide