<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Credential errors API from remote Server in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132437#M1315</link>
    <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm starting to use the API for exporting different reports from a remote server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I've generated the API Key&lt;/P&gt;&lt;P&gt;2) I've checked if it runs in my browers without credentials&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://&lt;STRONG&gt;&amp;lt;myserver&amp;gt;&lt;/STRONG&gt;/api/?type=config&amp;amp;action=show&amp;amp;key=&lt;STRONG&gt;mykey&lt;/STRONG&gt;=&amp;amp;xpath=/config/devices/entry/vsys/entry/rulebase/security ant the result is an XML with the Security Rulebase.&lt;/P&gt;&lt;P&gt;3) If I try with curl or wget the xml result is the following&amp;nbsp;&amp;lt;response status = 'error' code = '403'&amp;gt;&amp;lt;result&amp;gt;&amp;lt;msg&amp;gt;Invalid credentials.&amp;lt;/msg&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can i find/ solve this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly regards&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2016 11:40:28 GMT</pubDate>
    <dc:creator>javier.allende</dc:creator>
    <dc:date>2016-12-12T11:40:28Z</dc:date>
    <item>
      <title>Credential errors API from remote Server</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132437#M1315</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm starting to use the API for exporting different reports from a remote server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I've generated the API Key&lt;/P&gt;&lt;P&gt;2) I've checked if it runs in my browers without credentials&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://&lt;STRONG&gt;&amp;lt;myserver&amp;gt;&lt;/STRONG&gt;/api/?type=config&amp;amp;action=show&amp;amp;key=&lt;STRONG&gt;mykey&lt;/STRONG&gt;=&amp;amp;xpath=/config/devices/entry/vsys/entry/rulebase/security ant the result is an XML with the Security Rulebase.&lt;/P&gt;&lt;P&gt;3) If I try with curl or wget the xml result is the following&amp;nbsp;&amp;lt;response status = 'error' code = '403'&amp;gt;&amp;lt;result&amp;gt;&amp;lt;msg&amp;gt;Invalid credentials.&amp;lt;/msg&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can i find/ solve this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 11:40:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132437#M1315</guid>
      <dc:creator>javier.allende</dc:creator>
      <dc:date>2016-12-12T11:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Credential errors API from remote Server</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132440#M1316</link>
      <description>&lt;P&gt;Try using the following example with curl,&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/71/pan-os/xml-api/get-started-with-the-pan-os-xml-api/make-your-first-api-call#51855" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/71/pan-os/xml-api/get-started-with-the-pan-os-xml-api/make-your-first-api-call#51855&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure it doesn't include spaces. If that still gives you an error I'd suggest trying generating a new API key with a different username.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gerardo.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:10:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132440#M1316</guid>
      <dc:creator>glastra1</dc:creator>
      <dc:date>2016-12-12T14:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Credential errors API from remote Server</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132466#M1318</link>
      <description>&lt;P&gt;Many thanks Gerardo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It runs but I've to change the profile for these account. I'll check and give the details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 15:05:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/credential-errors-api-from-remote-server/m-p/132466#M1318</guid>
      <dc:creator>javier.allende</dc:creator>
      <dc:date>2016-12-12T15:05:13Z</dc:date>
    </item>
  </channel>
</rss>

