Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It looks like when I try to get the comments of a user that has "a huge number" of comments, I get a 500 error.

Jon Skeet's comments, 500 error: http://api.stackoverflow.com/1.0/users/22656/comments

Whereas a smaller query works just fine:

rascher's comments: http://api.stackoverflow.com/1.0/users/3788/comments

I even get this error when I set a small page size. What is the threshold for "this is too many comments for the API to deliver?" Could we obtain some metrics - like the number of comments or paging thresholds - before the request is rejected outright?

share|improve this question
1  
This is definitely a bug. – Nathan Osman Feb 7 '11 at 0:35
    
haha, it turns out that using Jon Skeet's profile is an excellent way to bench-test your app! – rascher Feb 7 '11 at 3:42
up vote 3 down vote accepted

Jon's comment history finally grew large enough to overflow some limits in that query. Its been fixed.

share|improve this answer
    
Fantastic. Thank you so much for looking into this! – rascher Feb 7 '11 at 22:25
1  
'Finally'...? Jon Skeet outgrew his comment history on StackOverflow before he joined StackOverflow. – Nathan Osman Feb 7 '11 at 23:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .