Empty Response with Code 0, how to identify why I am getting an empty response

Skip to first unread message

Jonathan Folland

May 14, 2015, 8:37:42 PM5/14/15
to disqu...@googlegroups.com
I am making the following request:

GetDisqusPostCountUpdates(string secretApiKey, string accessToken, string disqusShortName)

var requestUrl = string.Format("https://disqus.com/api/3.0/trends/listThreads.json?access_token={0}&api_secret={1}&forum={2}",accessToken, secretApiKey, disqusShortName);

var request = (HttpWebRequest)WebRequest.Create(requestUrl);

I am getting the following result:


I can run the same request from the Disqus console and I get a valid response. Any ideas?

Jonathan Folland

May 14, 2015, 8:48:53 PM5/14/15
to disqu...@googlegroups.com
Found the issue. The url was incorrect.
Reply all
Reply to author
0 new messages