Hi,
I've been playing around with the API and successfully pulled url-
metrics/ data. However with the same set of URLs sometimes I am
getting errors and other times I am not. I have not changed my code so
I'm not sure the cause of the errors:
>>> request = urllib2.Request("
http://lsapi.seomoz.com/linkscape/url-metrics/" + urllib2.quote(URL) + "?AccessID=" + ACCESS_ID + "&Expires=" + str(EXPIRES) + "&Signature=" + binary_signature)
>>> fetch=urllib2.urlopen(request)
HTTPError: HTTP Error 500: Internal Server Error
>>> request = urllib2.Request("
http://lsapi.seomoz.com/linkscape/url-metrics/" + urllib2.quote(URL) + "?AccessID=" + ACCESS_ID + "&Expires=" + str(EXPIRES) + "&Signature=" + binary_signature)
>>> fetch=urllib2.urlopen(request)
HTTPError: HTTP Error 401: Unauthorized
Any ideas of where these errors are coming from?