Take the 2-minute tour ×
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.

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

1 Answer 1

up vote 2 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 .