Quite common
This happens quite frequently for TATL flights to Europe due to vaccine requirements. For Switzerland your last vaccine has to be within the last 270 days so if you don’t have a booster or recovery or residency permit then you won’t be allowed boarding.
I fly the YUL GVA route every few weeks and no longer receive my boarding pass at OLCI.