<?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: Query Identity with Identity Awareness API got Internal Error in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6552#M574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited my reply following a further test I did:&lt;/P&gt;&lt;P&gt;Indeed it seems that in R80.10 we are returning HTTP 500 in this case, which is wrong.&lt;/P&gt;&lt;P&gt;It was fixed in our next future version, R80.20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case there is a need to port fix it to R80.10, our bug ID is IDA-198.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Royi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 09:07:57 GMT</pubDate>
    <dc:creator>Royi_Priov</dc:creator>
    <dc:date>2017-09-27T09:07:57Z</dc:date>
    <item>
      <title>Query Identity with Identity Awareness API got Internal Error</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6550#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm using Identity Web API to query identity of a given IP. The API is&lt;/P&gt;&lt;P&gt;POST &lt;A href="https://&amp;lt;gateway-server&amp;gt;/_IA_API/idasdk/show-identity"&gt;https://&amp;lt;gateway-server&amp;gt;/_IA_API/v1.0/show-identity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It works fine when there is identity found with the IP. But I got 500 Internal error when there is no identity found.&lt;/P&gt;&lt;P&gt;According to the document, when no identity found, it should still receive 200 OK and {"ipv4-address" : "1.1.1.1","message" : "total 0 user records were found."}&lt;/P&gt;&lt;P&gt;It works when I do curl from command line, but in the https client, the response code is 500, there is no response body, but {"ipv4-address" : "1.1.1.1","message" : "total 0 user records were found."} was put as error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same command and http client worked on R77.30, but R80.10 has this problem. Does any one know how to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 16:54:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6550#M572</guid>
      <dc:creator>Yi_Dai</dc:creator>
      <dc:date>2017-09-26T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Query Identity with Identity Awareness API got Internal Error</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6551#M573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's move this into &lt;A href="https://community.checkpoint.com/space/2003"&gt;Developers (Code Hub)&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;A 500 error for something that should return a 200 (and it's a pretty straightforward call) sounds like a possible bug.&lt;/P&gt;&lt;P&gt;I recommend engaging with the Check Point TAC:&amp;nbsp;&lt;A class="link-titled" href="https://www.checkpoint.com/support-services/contact-support/" title="https://www.checkpoint.com/support-services/contact-support/"&gt;Contact Support | Check Point Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 17:18:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6551#M573</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2017-09-26T17:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query Identity with Identity Awareness API got Internal Error</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6552#M574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited my reply following a further test I did:&lt;/P&gt;&lt;P&gt;Indeed it seems that in R80.10 we are returning HTTP 500 in this case, which is wrong.&lt;/P&gt;&lt;P&gt;It was fixed in our next future version, R80.20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case there is a need to port fix it to R80.10, our bug ID is IDA-198.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Royi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 09:07:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-Identity-with-Identity-Awareness-API-got-Internal-Error/m-p/6552#M574</guid>
      <dc:creator>Royi_Priov</dc:creator>
      <dc:date>2017-09-27T09:07:57Z</dc:date>
    </item>
  </channel>
</rss>

