<?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 Login failed: APIResponse received a response which is not a valid JSON. in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66430#M4066</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I new with API for CheckPoint...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an API for checkpoint.&lt;/P&gt;&lt;P&gt;the API :&amp;nbsp;&lt;A href="https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/blob/master/README.md" target="_blank"&gt;https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/blob/master/README.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I using an R80.30 Server Management&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run script from my Python API i get this response&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="api.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/2937iEE904E2950D0FFDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="api.png" alt="api.png" /&gt;&lt;/span&gt;:&lt;BR /&gt;Login failed: APIResponse received a response which is not a valid JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I new with API for checkpoint, my goal is to create/use a API with python&amp;nbsp; for checkpoint to read/write Rules for the checkpoint FW.&lt;/P&gt;&lt;P&gt;Someone can&amp;nbsp;to direct me for which API i need to use...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank to all ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2019 18:40:03 GMT</pubDate>
    <dc:creator>netanel1431</dc:creator>
    <dc:date>2019-11-02T18:40:03Z</dc:date>
    <item>
      <title>Login failed: APIResponse received a response which is not a valid JSON.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66430#M4066</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I new with API for CheckPoint...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an API for checkpoint.&lt;/P&gt;&lt;P&gt;the API :&amp;nbsp;&lt;A href="https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/blob/master/README.md" target="_blank"&gt;https://github.com/CheckPointSW/cp_mgmt_api_python_sdk/blob/master/README.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I using an R80.30 Server Management&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i run script from my Python API i get this response&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="api.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/2937iEE904E2950D0FFDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="api.png" alt="api.png" /&gt;&lt;/span&gt;:&lt;BR /&gt;Login failed: APIResponse received a response which is not a valid JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I new with API for checkpoint, my goal is to create/use a API with python&amp;nbsp; for checkpoint to read/write Rules for the checkpoint FW.&lt;/P&gt;&lt;P&gt;Someone can&amp;nbsp;to direct me for which API i need to use...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank to all ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2019 18:40:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66430#M4066</guid>
      <dc:creator>netanel1431</dc:creator>
      <dc:date>2019-11-02T18:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Login failed: APIResponse received a response which is not a valid JSON.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66432#M4068</link>
      <description>You need to enable remote access to the API server.&lt;BR /&gt;See: &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Enabling-web-api/m-p/32641" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Enabling-web-api/m-p/32641&lt;/A&gt;</description>
      <pubDate>Sun, 03 Nov 2019 07:05:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66432#M4068</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-11-03T07:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Login failed: APIResponse received a response which is not a valid JSON.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66697#M4075</link>
      <description>&lt;P&gt;thanks, but i did this and still its dont work&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 16:54:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66697#M4075</guid>
      <dc:creator>netanel1431</dc:creator>
      <dc:date>2019-11-06T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Login failed: APIResponse received a response which is not a valid JSON.</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66703#M4076</link>
      <description>Please provide exactly what you tried and the results of the various commands.&lt;BR /&gt;Note the Management API can only be enabled on a management server, not a Security Gateway.</description>
      <pubDate>Wed, 06 Nov 2019 17:09:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Login-failed-APIResponse-received-a-response-which-is-not-a/m-p/66703#M4076</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-11-06T17:09:34Z</dc:date>
    </item>
  </channel>
</rss>

