There are a couple of things to check if you are getting this error.
- Are your credentials correct? You should be able to log into your eTapestry account using the same username and password.
- Is the url correct?
- Have you asked for API access from eTapestry? eTapestry API access is not automatic. So make sure you have explicitly added it to your account