Get the benefit of the doubt

To receive a decision in your favor when the evidence is neither for you nor against you.

I got the benefit of the doubt when I complained about my parking ticket.