There's an issue here where it looks like the server isn't able to handle empty param values. When either beforeID or limit are nil, an empty array is always returned. There probably needs to be logic here is doesn't include the params at all if they come in as nil.