Interesting. I tried that request with wget and an HTTP 1.0
client. Both got 200 responses with valid JSON.
Do you see the 403 consistently or intermittently?
>How can I have my IP addresses white-listed?
It may not be the IP address, but you can send it to me in a private
email. I'll have ops check.
At 07:57 PM 10/19/2009, jparicka wrote:Interesting. I tried that request with wget and an HTTP 1.0
>/search/stories?query=currency&sort=digg_count-desc&appkey=http%3A%2F%2Ftest&type=json
client. Both got 200 responses with valid JSON.
Do you see the 403 consistently or intermittently?
>How can I have my IP addresses white-listed?It may not be the IP address, but you can send it to me in a private
email. I'll have ops check.
Please look at the document returned with the 403 response. There
should be a message in the document with a bit more info.
For example, here's a request with an invalid appkey:
/stories?appkey=blah&type=json
The document returned with the 403 response:
{"timestamp":1256056568,"code":1028,"message":"Invalid application key"}
That doesn't apply to you, because your appkey is valid.
Here's a request with no appkey:
/stories?type=json
The response:
{"timestamp":1256056655,"code":1005,"message":"Application key required"}
Again, that doesn't apply to you.
Your original message showed a wget command. Is your wget configured
to send a User-agent header? Digg requires it.
http://apidoc.digg.com/BasicConcepts#UserAgents
What environment does your application use? Does your application
send the User-agent header?