Hi!
So other joy-cons are getting the same fault? Then it's Switch related, I'm afraid. Which side is having issues? I would replace the rail and see if that fixes it (usually this is the case).
Left: [guide|113429|Nintendo Switch Left Joy Con Sensor Rail Replacement - iFixit Repair Guide|new_window=true]
Right: [guide|113167|Nintendo Switch Right Joy Con Sensor Rail Replacement - iFixit Repair Guide|new_window=true]
Please let us know how it goes!