Is in the stock | AssertionError: expected undefined to be a number or a date error

So I am basically new to postman and got this error: " is in the stock | AssertionError: expected undefined to be a number or a date".

This is the code I have written:

pm.test("Status code is 200", function () {

    pm.response.to.have.status(200);

});

const response=pm.response.json();

pm.test("is in the stock", function(){

    pm.expect(response['available-stock']).to.be.above(0);

});

output displayed is:
image

Can you share your JSON response that you received?. The response['available-stock'] is empty or not available at the expected path.