Lightning cable Black, Green mark or corrosion
Now i had purchased my iphone se in late 2018 and after few months stated facing this problem of my phone not charging, since then i used many temp solutions like scratching the afected area by a needle, cleaning it by alchol but as said they were temporary and after few months again the same problem,but the best solution i found for this problem is to use a toothbrush and leamon water/ juice or simply lime water and gently rub on the surface leave it applied for 2 mins and the lightning cable teeths become new again and the phone is brought back to life, though this too is a temporary solution but at least lasts for 6 months, its a nasty manufacturing defict that apple fails to addres... ! Hope it helps you can also use white veniger - has the same results.!
iPhone SE, iOS 14