<?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 Re: Totally stuck getting started. Constant 403 responses in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197686#M1560</link>
    <description>&lt;P&gt;Glad it was an easy one, though it's definitely something that has stumped me before. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 19:46:51 GMT</pubDate>
    <dc:creator>nigelswift</dc:creator>
    <dc:date>2018-01-30T19:46:51Z</dc:date>
    <item>
      <title>Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197678#M1557</link>
      <description>&lt;P&gt;Howdy all. I'm trying to get started with some API work on my PAN instances in AWS. I walked through the Getting Started guide for 8.0 and I created a user, assigned an Admin Profile to it that had API access, and then generated a key.&amp;nbsp; Seems pretty simple but no matter what I do, every request is coming back 403:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -k '&lt;A href="https://live.paloaltonetworks.com/" target="_blank"&gt;https://w.x.y.z//api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=LUFRPT0zTG5aOUEvbFlCT09ROUZhVHZUZ3BUWFNoVGc9YnBIeDlmNHE5OUVoMHlhTDgwaTlmOWdNQTNpZ05xL0N6UU5LR0RGMzFsQT0&lt;/A&gt;'&lt;BR /&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've changed the password, I've recreated the user, i've redone the key after password changes. Nothing works. I have to be missing something simple.&amp;nbsp; Can anyone provide me some guidance?&amp;nbsp; I can't even figure out how to get to logfiles that would provide any debug output about why the user is getting rejected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-01-30 at 11.26.03 AM.png" style="width: 714px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/13473i7B60A95AB66E13DE/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-01-30 at 11.26.03 AM.png" alt="Screen Shot 2018-01-30 at 11.26.03 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-01-30 at 11.26.22 AM.png" style="width: 663px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/13474iC6DF070E2DC61D52/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-01-30 at 11.26.22 AM.png" alt="Screen Shot 2018-01-30 at 11.26.22 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:27:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197678#M1557</guid>
      <dc:creator>IamTheGorf</dc:creator>
      <dc:date>2018-01-30T19:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197682#M1558</link>
      <description>&lt;P&gt;I'll try to recreate this on one of our AWS instances. The only thing that comes to mind beforehand is to make sure the API key generation was successful. Sometimes a special character is at the end of the API key and I've notice when I select the text in my browser it misses the special character.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:39:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197682#M1558</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2018-01-30T19:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197685#M1559</link>
      <description>&lt;P&gt;OMG!!! You are a f'in genius!&amp;nbsp; I have stared at this thing for 2 days and never even noticed the character at the end that my copy and paste wasn't picking up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="homer.jpg" style="width: 600px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/13476iA024B8733F55ABB0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="homer.jpg" alt="homer.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:44:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197685#M1559</guid>
      <dc:creator>IamTheGorf</dc:creator>
      <dc:date>2018-01-30T19:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197686#M1560</link>
      <description>&lt;P&gt;Glad it was an easy one, though it's definitely something that has stumped me before. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:46:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/197686#M1560</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2018-01-30T19:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/198223#M1565</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;can you help me, what I am doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -k 'https://firewall/api/?type=keygen&amp;amp;user=xmladmin&amp;amp;password=password'&lt;BR /&gt;&amp;lt;response status = 'success'&amp;gt;&amp;lt;result&amp;gt;&amp;lt;key&amp;gt;LUFRPT1tajdzYWdOL2wrcDR0ckNIb0hNR2N2Wnc0VTg9M053bFoyTngydmpWUFhPOGttTWd0Q21EN1lyYngreWFXVktGc2F3MjNHQT0=&amp;lt;/key&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;&amp;nbsp;&lt;BR /&gt;───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;➤ curl -k 'https://firewall/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;api=LUFRPT1tajdzYWdOL2wrcDR0ckNIb0hNR2N2Wnc0VTg9M053bFoyTngydmpWUFhPOGttTWd0Q21EN1lyYngreWFXVktGc2F3MjNHQT0='&lt;BR /&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:58:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/198223#M1565</guid>
      <dc:creator>Sergey.Ivashkin-PL</dc:creator>
      <dc:date>2018-02-01T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/198312#M1567</link>
      <description>&lt;P&gt;The name of the API key parameter is key, not api. So change the part preceding your key with &amp;amp;key= instead of &amp;amp;api=&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 18:36:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/198312#M1567</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2018-02-01T18:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/198799#M1574</link>
      <description>&lt;P&gt;silly me!&lt;/P&gt;&lt;P&gt;I was looking for mistake in any other places,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 12:19:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/198799#M1574</guid>
      <dc:creator>Sergey.Ivashkin-PL</dc:creator>
      <dc:date>2018-02-05T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Totally stuck getting started. Constant 403 responses</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/553053#M3410</link>
      <description>&lt;P&gt;Ran into same error and I resolved it by typing the password manually.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 08:15:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/totally-stuck-getting-started-constant-403-responses/m-p/553053#M3410</guid>
      <dc:creator>ISRARAHMEDANSARI</dc:creator>
      <dc:date>2023-08-09T08:15:07Z</dc:date>
    </item>
  </channel>
</rss>

