GET lists/members is returning empty JSON input for me at the moment. Every other list query I’ve tried seems to be working, though. Some were recently fixed, but perhaps this was neglected?

Do you have an example of the list id?

Have you tried making a smaller request with count= ?

1 Like

List ID: 1313631817950519299 (it’s public)

I’ve tried count=1 and count=10, and neither works

What language / library are you using? I tried this:

twurl "/1.1/lists/members.json?list_id=1313631817950519299&skip_status=true&count=5000"

and it worked (it only had 200 users so with count=5000 you get them all in one) skip_status isn’t necessary but i included it just to make this request smaller.

1 Like

Julia (via randyzwitch/Twitter.jl). It’s the get_lists_members function

The Julia functions are all created in a macro, so it’s weird that this one doesn’t work. This might be enough for me to go on. Thank you.

1 Like

Can’t help with julia unfortunately - i haven’t used it - but one thing i’d look at is how utf8 / json is parsed - sometimes errors there can give you empty results by the library.

1 Like

I was able to track it down and the parsing was OK, but it looks like a unique package error that has been reported to the package author. Thanks again!

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.