(not have a) leg to stand on

To not have a firm foundation of facts, to not have the facts to support one`s claims.

The woman does not have a leg to stand on with her excuses for not finishing her work.