Cervical mucus

Has this been the actual reason anyone hasn’t been able to get pregnant? Or is there usually more behind it than just not having enough CM?