broken or stuck sensor... bad thing... easiest is to replace whole lock...
The "Door Ajar" warning means your door is not shut all the way.
The door ajar switches are inside the doors mounted on the backside of the door latches
On my 2002 sportage 2-door, the door ajar light stays on when the tailgate is not locked. with the key.
If the door is ajar and light stays on, spray some WD40 into the latch. The door switch is probably stuck. Spray all doors then open and close a few times.
Try spraying WD-40 on the door latch, the part that is on the door itself. The door ajar switch is located in with the latch. Had the same problem, door ajar light on, interior light stays on, and horns toots twice when you lock with remote, to signal door is not closed. Door was shut but truck didn't know it, WD40 fixed it.
If the door ajar light is coming on in your gauge cluster, and the warning chime is sounding when all your doors, liftgate, and glass hatch are securely shut you most likely have a sticking door ajar switch. The door ajar switches are inside the doors mounted on the latch mechanisms.
bad door ajar switch inside one of the doors its in the striker assy
check the sensor on the door, its probably bad
The door ajar switch is part of the latch, inside the door.
Because one of your door sensors are broken.
I had the same problem with my 02 Ford Ranger the sensor is inside the door (genius idea ford). no amount of wd40 helped. luckily for me it was my passenger door. I just unplugged it and the dome light doesn't turn on for the passenger door but works find for the driver's door.
Try spraying the door latch liberally with WD-40, open and close the door several times, and then spray with a silicone