Kicad error (hole clearance, board edge, rear solder mask bridges, etc)

Hi everyone,
I am quite a beginner level that try to design an esp32 project. However, I encounter many errors regarding to battery connector plating through hole. Can anyone explain why?

Update:
https://acrobat.adobe.com/id/urn:aaid:sc:VA6C2:baa8ceea-2aef-41e2-a4e1-ee7c7bbaf875
0475070010 Molex | Connectors, Interconnects | DigiKey (datasheet)
Thank you. Here are some more attached images.

Probably those pads are made in a wrong way. Difficult to say because we have only the screenshot.

Those errors look quite logical to me. The first two: Error: Hole clearance violation, In the S1 and S2 pads you have overlapping holes. This is never acceptable, because the drill is likely to break if it enters the hole the second time and it’s pushed aside by the wall of the previous hole. On top of that, NTPH (probably?) should not be in a pad at all, but I’m not entirely sure about that.

Then: Warning: Clearance violation between Pad S1 and a polygon on F.Cu. Polygons are graphic items and they should not be on pads. Although the distinction between copper zones and a polygon on a copper layer is getting smaller. It is for example possible to assign a net name to a polygon in KiCad V8.

Error: Board edge clearance violation. Lines (and arcs) on the Edge.Cuts layer are for defining the outside of the PCB, and KiCad issues error messages for items too close and/or overlapping with the edge of the PCB. Graphics on Edge.Cuts also have to combine into a “perfect” from, with no gaps, no overlaps and no crossing graphic items. In your case it looks like there are lines on Edge.Cuts directly in the footprint. This is quite normal in itself, but you have to integrate such lines into the outside of the PCB.

1 Like