You must have already registered your SIM to an account before you can add credit.
Why do I need to activate and register my SIM
To get your SIM working, you need to activate it first. This means linking your SIM ID code and number to your account and enabling you to get started.