As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING CLIMBOUT, THE RIGHT MAIN LANDING GEAR RED UNSAFE LIGHT REMAINED ON AFTER GEAR WAS RETRACTED. FLIGHT RETURNED TO YYC AND LANDED WITHOUT INCIDENT. REPLACED THE RIGHT MAIN GEAR UPLOCK SWITCH. OPERATIONAL CHECK OK AND AIRCRAFT RETURNED TO SERVICE.