If you do get them from Amazon, get the Amazon Basics brand cable. The cable is thick and I have several of them and none have failed since I ordered the first one in April.
Which one of these did you buy?
The S5 takes the Micro-USB 3.0 or most commonly called "USB 3.0" cable. The 3.0 is built on the 2.0 and you do get some data and some power but basically you are using the completely wrong cable to do the job.
USB 3.0 cables are CHEAP.