C section scar defect

Has anyone found out they have a c section scar defect causing miscarriage/infertility? I am wondering if I have this and wondering how you find out?