Nintendo switch lite

I have a Nintendo switch lite that charges with a USB-A to USB-C cable at 5V 1.4 A. It wont charge with the Nintendo switch charger and the switch works just fine any advice

Have you checked the usb port for bent pins? The Nintendo charger uses different pins to communicate with the switch than normal chargers, so could cause this sort of issue.