Welcome to Geekhack!
Although a bad joint could cause this, it is most probably a mechanical failure of the switch, perhaps caused by something getting lodged inside the switch, such as some dust or a hair.
You can try blowing the switch out with compressed air (press switch down, blow air, let switch go).
If that still doesn't work, you could replace the switch.
As the keyboard is about 2 years old it is probably not still under warranty. However if it is under warranty, and it is practical for you to return the keyboard, it is an option definitely worth pursuing.