As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DOOR WARNING SYSTEM CARGO DOORS LIGHT ON STEADY EICAS MESSAGE. ACCOMPLISHED QRH. LT STAYED ON. DIVERTED. FOUND DOOR CLOSED. SENSOR S890 AND TARGET GAP .133" WITH DOOR CLOSED, AND UNLATCHED. ADDED SHIMS TO SENSOR IAW AMM 52-71-09-822-037 TO BRING CLEARANCE TO .080.