Make sure that the connection, position of the connectors and/or charging accessories are as stable and secure as possible. The first contact may have made correctly but the device some how moved and the charger connection connected but the contacts disconnected.
Check that there is no dirt in the charging contacts. If there is, you can clean the contacts easily with a clean, dry cloth.