Problems accessing the ID of a Desk contact

Problems accessing the ID of a Desk contact

I am doing an API integration and I am looking for a contact via email. That works for me and I save it in a variable called "getContact" I receive the JSON of the contact I searched for and I try to extract the ID of that contact. However, it gives me an error, it is as if the contact I was looking for does not exist, why is that if I am receiving the contact json correctly? I leave an image of the function that I am using to extract the ID