It is likely to be the probe O ring. They are BS003 for .177 and BS004 for .22.
If this doesn't sort it, then it could be a transfer port O ring but the breech needs removing to do this. If it has AT fitted then it will need to go to a dealer or back to the factory. Transfer port O rings are BS008.