As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
JFK - CREW REPORTED MAIN GEAR DOOR NOT CLOSING. ABORTED APPROACH AND DID FLY BY, TOWER REPORTED GEAR DOOR OPEN. CYCLED GEAR WITH NORMAL INDICATION. REPLACED RIGHT MAIN LANDING GEAR DOOR UPLOCK SEQUENCE VALVE. SYSTEM GROUND CHECK NORMAL OPERATION.