I don’t know if this is normal but I have noticed that this new api returns 500 errors quite regularly, which makes it impossible to see the list of the last 20 polls.
I wanted to create a service that allows me to terminate or archive active polls without knowing its ID. So I made the list and then I took the assets to perform the action.
It took me a while to understand that this road only answered once in a while … Not incredible ^^
Worth noting you can only have 1 active poll at once. So you onlly need to get 1 instead of 20
So doing first=1 will return the most recent poll, and you can check that state and action, instead of getting 20 and processing them
Same with the predictions endpoint. Only one prediction can be active at once.
As to this random 500, you should raise it on the GitHub, Issues · twitchdev/issues · GitHub with the reproduction steps but since it’s intermittent it might not even be related to the Polls endpoint but another part of helix.
It’s not something I have observed with my own testing. (Just done a random spot test just now and not be able to get any 500’s)
So if you get a 500 just insta retry, then if you get 2/3 in a row like that, then theres probably something worth reporting