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?

2
  • 1
    This is definitely a bug. Commented Feb 7, 2011 at 0:35
  • haha, it turns out that using Jon Skeet's profile is an excellent way to bench-test your app! Commented Feb 7, 2011 at 3:42

1 Answer 1

3

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

2
  • Fantastic. Thank you so much for looking into this! Commented Feb 7, 2011 at 22:25
  • 1
    'Finally'...? Jon Skeet outgrew his comment history on StackOverflow before he joined StackOverflow. Commented Feb 7, 2011 at 23:26

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.