This is old I know but I happen to have the same issue, I also have a battery drain issue which I’ve come to believe is related to the door sensor. But checking the VIN on my car it happens to start with 1YVHZ8B. Do you happen to have a manual related to this vehicle?Australian Mazda GH 2008 2.5L Manual Sports Luxury
After a year of this happening i have finally decided to give this a go. Its not for everybody but it costs nothing. Trick is to bridge the wires for the door ajar sensor in the problem door. All this will mean is your car wont be able to tell when that door is open. e.g. can lock it when its open and light wont come on if passenger opens it at night. Something im willing to bear.
After a trend started on this forum showing a common issue of the door latches showing ajar so i knew it must be one of them, especially since as the problem became moreefrequent, my door ajar light started coming on whilst driving. I went to a friendly Autoelectrician that gave me the entire electrical manual for my car for free (what a legend) and i knew i had to disable (bridge) the door ajar sensor in each door until it stopped. Below is the diagram for all 4 doors.
View attachment 238576
As per the diagram, the wires that need to be bridged are as follows:
Driver: Black/Blue with Black/Yellow
Front Passenger: Red/Green with Black/Yellow
Rear Right: White/Black with Black
Rear Left: Black/White with Black
I litteraly stuck a stripped end insulated wire into the back of the plug for the two relevant ones.
View attachment 238578
Take the door panel off (youtube) and the plug is at the back near the latch.
Then its a matter of process of elimination, this is my back right door, i bridged the white w/ black stripe and black wires and the door light went off.
Here’s a picture of the plug, if I could get any help pin pointing which cables to bridge that would mean a lot to me.