You may have enough on your phone, but it may not be the right type of credit. I had this problem once before.
Say with Optus, you have all these different things like "my credit", "my time money" and "power up money". Out of these only "my credit" will work.