Topic: Ipod shuffle battery fail?

I just purchased a brand new in the box iPod shuffle 1st generation 512mb.

When I plugged it into an outlet with a wall adapter that I use for my other iPods, it flashed a couple times and then nothing. Then I plugged it into the computer to see if it would pull up in iTunes. I did for a bit, but it would mount and unmount continuously. I also tried the repair utility, but it said error, and could not complete.