I know that it is commonly suggested for bearded dragons to get hydrated by soaking through their cloaca. If you are following the same idea, keep in mind 1. Bearded dragons rarely drink because they are very good at retaining hydration as desert animals 2. A reptile vet had experimented with a bearded dragon by soaking the lizard to see if it hydrates the lizard. It did not. It was only 1 lizard so take it with a grain of salt 3. Snakes actually drink water when they need it. I have seen snakes drink way more times than I ever do of with my beardie. Snakes gets the majority of their hydration from their prey.

So idk how you could tell your snake was dehydrated, if it was feeding and a water bowl is provided?

Secondly, soaking too much robs the oil from the scales that the snake need for shedding. You wait to soak after 24 hours when shedding had finished.

What is your humidity %? 50-60% daily and bump it up to 70% or so when you see signs of shedding. A humid hide can be made with a plastic container with lid and wet moss or papertowels.

Have items in the tank for him to rub against. Like small bricks or rocks, bark, etc. Something with a rough surface helps.