As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
LEFT MAIN LANDING GEAR UNSAFE LIGHT REMAINED ON AFTER GEAR WAS RETRACTED. RECYCLED GEAR WITH SAME RESULTS. FLIGHT RETURNED TO YYC AND LANDED WITHOUT INCIDENT. AIRCRAFT WAS FERRIED TO MSP. MAINTENANCE REPLACED LEFT MAIN GEAR UPLOCK SWITCH, OPERATIONAL CHECK NORMAL.