Change limits of streams

  1. error: “Bad Request”
  2. message: “The parameter “first” was malformed: the value must be less than or equal to 100”
  3. status: 400

url: ‘https://api.twitch.tv/helix/streams/?first=1000

Just as the error told you, you can’t request more than 100 stream objects at a time. To get more than 100 results you have to use pagination.

As you can see from the example in the docs https://dev.twitch.tv/docs/api/reference/#get-streams the request returns a cursor value which you can use as the value for the after querystring parameter, this new request will get the next page of results.

You can repeat the process of taking each new cursor value and using it in the after param to get the next page of results until you have enough results for your need, or there are no more results left to give.

nice thanks for help :wink: Merry Christmas

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