Sometimes snakes will go off their feed for a bit.
It could be due to breeding season (although, from the size of your corn, I assume it is young and breeding would not play a part for her).
Temperatures can, also, play a roll. If it is not warm enough, they could go off their feed.
Another thing could be due to shedding. Some snakes will refuse feed if they are in blue (shed mode) and others may even refuse feed a week or two in advance of shedding.
A change might be enough to put them off feed, for a bit, too.
Then, at times, it is for no apparent reason.
If your snake's viv/enclosure temps are where they should be, just keep trying to feed periodically. Wait 4-5 days between attempts though.
If your snake is about to shed, wait until a day, or two, after she sheds.
Snakes can go without eating for awhile. Although I know that two weeks may be worrisome, for you, it is, actually, not enough time, yet, to overly fret.
Although, not 100% guaranteed ... A bit of info, such as enclosure temperatures, enclosure conditions, enclosure set up, what you are feeding, how you are feeding, etc., etc. may help pin point the problem.