1) If you get the error right at the first time itself, then the problem might be with the service provider.
2) If you get it in between, like accessing same url continously then it is with your code.
Now if you think it is your code, just email me your code if you wish. to email@example.com
I will try my best on it.