In my case that's not it. I have several cables and it doesn't matter once the error message is there. In fact I've noticed if you leave the phone side of the cable connected to the phone and switch to another charging source I'll get the error even though just a few seconds earlier everything was fine. In this case nothing changes except the big end of the cable.
I am also having this issue. The phone DID NOT GET WET!!! I can charge wirelessly, but I cannot charge with the USB cable. The port is not wet, the cable is not damaged.