Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Yi_Dai
Explorer

Query Identity with Identity Awareness API got Internal Error

Hi,

I'm using Identity Web API to query identity of a given IP. The API is

POST https://<gateway-server>/_IA_API/v1.0/show-identity

It works fine when there is identity found with the IP. But I got 500 Internal error when there is no identity found.

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."}

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.

Same command and http client worked on R77.30, but R80.10 has this problem. Does any one know how to solve it?

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

Let's move this into Developers (Code Hub)

A 500 error for something that should return a 200 (and it's a pretty straightforward call) sounds like a possible bug.

I recommend engaging with the Check Point TAC: Contact Support | Check Point Software 

0 Kudos
Royi_Priov
Employee
Employee

Hi Yi,

Edited my reply following a further test I did:

Indeed it seems that in R80.10 we are returning HTTP 500 in this case, which is wrong.

It was fixed in our next future version, R80.20.

In case there is a need to port fix it to R80.10, our bug ID is IDA-198.

Thanks,

Royi.

Thanks,
Royi Priov
Group manager, Identity Awareness R&D

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events