Connections error

im trying to add my phone # to blizzard when I get the code and input it, it says connection error then proceeds to say wrong code # when I type it in.