Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Endpoint /helix/streams/followed?user_id=<id> returns status code 500 when the user does not follow anyone #721

Closed
diogoizele opened this issue Feb 4, 2023 · 1 comment
Labels
product: api API endpoints in the "helix" namespace

Comments

@diogoizele
Copy link

diogoizele commented Feb 4, 2023

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:

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.

Screenshots

image

@diogoizele diogoizele added the product: api API endpoints in the "helix" namespace label Feb 4, 2023
@Xemdo
Copy link

Xemdo commented May 10, 2023

This should be fixed now. Closing.

@Xemdo Xemdo closed this as completed May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: api API endpoints in the "helix" namespace
Projects
None yet
Development

No branches or pull requests

2 participants