hi how are you I have 4 snakes and have had the same thing numerouse amounts of time accure, now what are you feeding it at the moment? what size and where are you getting this food from?
Some places can sell you mice and rats dead that have been sitting in a freazer for a wile and gone off, which happened to to rats I started out with my snakes all didn't go anywhere near them so then I tryed live they took them strate away, I have now weened 3 of my snakes onto eating fresh frozen rats that have been gased and they love them, but my male capie wont touch anything that isn't live he likes the chellange it also gives them a bit of exersize to. the only thing with that is you have to nock the rat over the head first but not so it is dead, it has to be still kicking or dizzy so it doesn't try eating your snake and you must sit there and watch till he's finished. He is also very shy he will not eat if you are watching him which I find it very hard.
in saying that try a few different things and if all alse fales take it to the vet get him checked to see if it is undernorished and if so they will give it a vitemine shot which in most cases is all it really needs and it will start eating again.
if you get too worried to him to the vet.
cheers Jody