Glad it's resolved, now this had nothing to do with the keyless system, but I really hate that.
So I just want to share this in case anyone has a similar problem. On my 2021 KTM 1290R Superduke I also have a keyless system (just no choice because it is standard). At a certain point I could not start, even keeping the key on the hidden antenna under the plastics, which serves in an emergency, did not work. I searched an hour hard for the problem, as it turned out, my mobile phone that I had put in the tank bag was interfering with the keyless system. As soon as I removed it from the tank bag everything worked as before.
Also my garage door opener interferes with this system, if the door is open I can't get that thing started, I first have to put the bike outside, close the garage door and then I can start.
Because of that thing with my phone I've just been busy for an hour, late for my appointment etc... just because of such a shitty system... a regular key always works and is more than enough for me.