JsonPath Error logs as KO.

Hi All,
Could you please guide me how one can setup a jsonPath extraction error to be not classified as a KO.

So, basically I have a request as below:

val A: ChainBuilder= exec(http(“dummy request “)
.get(“api/home”)
.headers(headers)
.check(jsonPath(”$…id”).saveAs(“id”))
.check(status.is(200)))

Here, I am not sure whether an id will be returned or not.
I want to extract the id whenever values are present in the response.
But with checks applicable, this request gets classified as a KO with jsonPath extraction error even if 200 is the status code.

This KO classification hampers my results.
Is there a way to change this?
Or rather if I am missing out on some other way I would be able to extract the ids instead of using checks and jsonPath.

optional: https://gatling.io/docs/current/http/http_check/#validating

Thanks Stéphane Landelle for such a quick reply.
It worked perfectly.