I've never gotten a bad USB cable with an Arduino board but I did buy some USB cables separately for use with an Arduino board and they turned out to not have the data cables connected though not advertised as such. It's confusing because the LEDs on the board light up so you expect it's working but then it's never recognized by the computer.