I had this issue on my 2014 R1200GS. My dealer replaced the master cylinder. Interestingly I recently had the same problem with my 2019 R1250GS but this time they just bled the brakes. Works fine at the moment but suspect if it happens again they will replace the master cylinder.
Remember the brakes are Brembo (fortunately the fronts are now Haynes). They're Italian. Like Fiat and Ducrapi..........
Remember the brakes are Brembo (fortunately the fronts are now Haynes). They're Italian. Like Fiat and Ducrapi..........