<?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: R81.20 Policy verify error via API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179154#M7651</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;So we are actually using the web api.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are simply doing a POST on the /verify-policy&amp;nbsp;endpoint, with a body including the 'policy_package':&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "policy-package": "&amp;lt;policy_name&amp;gt;"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Maybe 1 out of 4 verifies actually complete successfully, the rest return that error that was shared.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 20:12:53 GMT</pubDate>
    <dc:creator>Matt_Tuma</dc:creator>
    <dc:date>2023-04-25T20:12:53Z</dc:date>
    <item>
      <title>R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179136#M7646</link>
      <description>&lt;P&gt;We're in the process of moving from R80.40 to R81.20 and our devs are testing their existing code and running into this error when performing a policy verify with API 1.9&lt;/P&gt;&lt;BLOCKQUOTE&gt;{"code"=&amp;gt;200, "hash"=&amp;gt;{"tasks"=&amp;gt;[{"task-id"=&amp;gt;"01234567-89ab-cdef-9cd1-9545bae0a64e", "task-name"=&amp;gt;"Verify policy operation", "status"=&amp;gt;"failed", "progress-percentage"=&amp;gt;100, "suppressed"=&amp;gt;false, "task-details"=&amp;gt;[{"fault-message"=&amp;gt;"Failed to create dir hierarchy"}]}]}}&lt;/BLOCKQUOTE&gt;&lt;P&gt;Anyone have an insight into what be causing this?&amp;nbsp; This looks like API back-end code might not have permissions to create a directory tree but I have no idea where to look or if that is even on the right track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 17:08:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179136#M7646</guid>
      <dc:creator>AlJo</dc:creator>
      <dc:date>2023-04-25T17:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179142#M7647</link>
      <description>&lt;P&gt;Never seen that before...let me check in a bit and see what could be an issue.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 18:12:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179142#M7647</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-04-25T18:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179143#M7648</link>
      <description>&lt;P&gt;I'm one of the devs. I just want to make note that this does not always happen. Maybe like 1 out of 4 completes successfully.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 18:17:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179143#M7648</guid>
      <dc:creator>Matt_Tuma</dc:creator>
      <dc:date>2023-04-25T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179147#M7649</link>
      <description>&lt;P&gt;Can you please send command you ran? Blur out any sensitive info.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;Example from my lab:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Expert@QUANTUM-MANAGEMENT:0]# mgmt_cli verify-policy policy-package "LAB-POLICY" --format json&lt;BR /&gt;Username: admijn&lt;BR /&gt;Password:&lt;BR /&gt;code: "err_login_failed"&lt;BR /&gt;message: "Authentication to server failed."&lt;/P&gt;
&lt;P&gt;[Expert@QUANTUM-MANAGEMENT:0]#&lt;BR /&gt;[Expert@QUANTUM-MANAGEMENT:0]# mgmt_cli verify-policy policy-package "LAB-POLICY" --format json&lt;BR /&gt;Username: admin&lt;BR /&gt;Password:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [15:35:02] 25/4/2023&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Verify policy operation" in progress (20%)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [15:35:12] 25/4/2023&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Verify policy operation" in progress (40%)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [15:35:22] 25/4/2023&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Verify policy operation" succeeded (100%)&lt;BR /&gt;{&lt;BR /&gt;"tasks" : [ {&lt;BR /&gt;"task-id" : "01234567-89ab-cdef-824e-d9e93d4a17ff",&lt;BR /&gt;"task-name" : "Verify policy operation",&lt;BR /&gt;"status" : "succeeded",&lt;BR /&gt;"progress-percentage" : 100,&lt;BR /&gt;"suppressed" : false,&lt;BR /&gt;"task-details" : [ {&lt;BR /&gt;"workSession" : "1b5fbea5-325d-4c31-9f3c-e5c2de32a2ef",&lt;BR /&gt;"title" : "Verification of policy 'LAB-POLICY' succeeded",&lt;BR /&gt;"notifications" : [ " Security and Address Translation Policy Verification 'LAB-POLICY'", " Rules Verified OK!" ],&lt;BR /&gt;"warnings" : [ ],&lt;BR /&gt;"errors" : [ ]&lt;BR /&gt;} ]&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;Time: [15:35:23] 25/4/2023&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;"Publish operation" succeeded (100%)&lt;BR /&gt;[Expert@QUANTUM-MANAGEMENT:0]#&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 19:35:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179147#M7649</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-04-25T19:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179151#M7650</link>
      <description>&lt;P&gt;Please elaborate&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 19:56:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179151#M7650</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2023-04-25T19:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179154#M7651</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;So we are actually using the web api.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are simply doing a POST on the /verify-policy&amp;nbsp;endpoint, with a body including the 'policy_package':&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "policy-package": "&amp;lt;policy_name&amp;gt;"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Maybe 1 out of 4 verifies actually complete successfully, the rest return that error that was shared.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 20:12:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179154#M7651</guid>
      <dc:creator>Matt_Tuma</dc:creator>
      <dc:date>2023-04-25T20:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179156#M7652</link>
      <description>&lt;P&gt;I replied in another thread but we are using the web api. 1 out of 4 verifies complete successfully, but the others fail with that error message in the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 20:35:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179156#M7652</guid>
      <dc:creator>Matt_Tuma</dc:creator>
      <dc:date>2023-04-25T20:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179243#M7653</link>
      <description>&lt;P&gt;I suspect this will require a TAC case to investigate: &lt;A href="https://help.checkpoint.com&amp;nbsp;" target="_blank"&gt;https://help.checkpoint.com&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:38:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179243#M7653</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-26T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179244#M7654</link>
      <description>&lt;P&gt;Im with Phoneboy on this, may need TAC help to confirm why thats the case.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:46:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179244#M7654</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-04-26T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179246#M7655</link>
      <description>&lt;P&gt;I've opened a support case for this issue... We'll provide an updates once we know more.&lt;/P&gt;&lt;P&gt;Thanks for digging in.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:28:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179246#M7655</guid>
      <dc:creator>AlJo</dc:creator>
      <dc:date>2023-04-26T15:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179247#M7656</link>
      <description>&lt;P&gt;Definitely let us know what they say, as we always like to update the solutions in the community, since it helps others.&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:30:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/179247#M7656</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-04-26T15:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/182273#M7735</link>
      <description>&lt;P&gt;Circling back to update on the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, we did not find the root cause of this issue.&lt;/P&gt;&lt;P&gt;The MDS was deployed from the Check Point provided R81.20-Management OVA&lt;/P&gt;&lt;P&gt;We then patched to Take 8 - We're not sure if the issue existing prior to Take 8 or not since Take 8 was recommended at the time.&lt;/P&gt;&lt;P&gt;We had a failure rate on policy verify via API calls of approximately 75%&lt;/P&gt;&lt;P&gt;While our TAC engineer was trying to replicate the environment and the issue (he was never able to reproduce the issue) I installed Take 10.&lt;/P&gt;&lt;P&gt;After a Take 10 install, the MDS main CMA would not start so we had a 100% failure rate on API calls.&lt;/P&gt;&lt;P&gt;I uninstalled Take 10&lt;/P&gt;&lt;P&gt;We now have a 100% success rate on API policy verifies.&lt;/P&gt;&lt;P&gt;Since the initial error messages on the API policy verify calls indicated a file permissions issue (just not which file/directory) we suspect that Take 10 fixed the file permissions issue and those changes remained after the Take 10 uninstall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish I had a better answer to this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 13:59:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/182273#M7735</guid>
      <dc:creator>AlJo</dc:creator>
      <dc:date>2023-05-26T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 Policy verify error via API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/182278#M7736</link>
      <description>&lt;P&gt;Yea, I can see that can be little frustrating, though happy it works again.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 14:15:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R81-20-Policy-verify-error-via-API/m-p/182278#M7736</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-05-26T14:15:30Z</dc:date>
    </item>
  </channel>
</rss>

