7

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?

  • 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
3

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

  • 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

This site is temporarily in read only mode and not accepting new answers.

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