Statuses/user_timeline error when big user_id



Hi !

When I try to get user timeline where the user_id is “big”, then the REST API respond with this error

{“errors”:[{“code”:34,“message”:“Sorry, that page does not exist.”}]}

You can check the example here in API Console:

This url :

It works when I use the screen_name:


That’s the wrong user ID for that user / screen name. The correct ID is 817422316242083842.

Are you using Javascript? You should read about our snowflake IDs, and why you should always use the id_str parameter. Javascript cannot handle very large integers.


Oh yes, I forgot the snowflake IDs ! Now It works great :slight_smile:

Thank you for the help.