When calling the endpoint /helix/streams/followed?user_id=<id> using the account id of a user who does not follow any channel, the api returns 500, this case is not handled
How to reproduce
Call the api /helix/streams/followed?user_id= for a user who doesn't follow any channels
Or simply run this on bash:
https -A bearer -a <your access_token> https://api.twitch.tv/helix/streams/followed\?user_id\=<your id account> \
Client-Id:<your client id>
Expected behavior
It is expected that even if the user is not following any channels, the API will handle this case and return an appropriate message.
Brief description
When calling the endpoint /helix/streams/followed?user_id=<id> using the account id of a user who does not follow any channel, the api returns 500, this case is not handled
How to reproduce
Call the api /helix/streams/followed?user_id= for a user who doesn't follow any channels
Or simply run this on bash:
Expected behavior
It is expected that even if the user is not following any channels, the API will handle this case and return an appropriate message.
Screenshots