Have you tried a different compatible, known working charger or charger cable and checked if it started to charge, you didn't say?
Use a magnifying glass and a bright light and visually inspect the charge port enclosure for any obstructions such as lint etc . Also check that the pins are all there and that they are not broken or missing.
If this is any obstruction in the enclosure do not use a metal pin or probe to get it out, as you may damage the pins. Try using a vacuum cleaner instead.
If the port looks OK then try the following:
Plug the charge cable into the port but do not connect the other end of the cable to anything!
Then grab the speaker firmly in one hand and grabbing hold of the inserted cable plug with the other hand try to gently, stress gently move the cable plug up and down and side to side and check if any movement of the charge port is detected.
If there is it may be loose from the circuit board or even if not the speaker will have to be opened and further testing done to find out what’s wrong.