Hello,
i am trying to currently create a Selfbuilt Twitchbot which is also able to Announce when i go live.
My current method of checking if someone is Live is by sending a Axios GET request:
https://api.twitch.tv/kraken/streams/${channelId} (ChannelID represents the ID of the Streamer i am trying to request the API every 90 Seconds (to prevent spamming) and Check if i am Live. This is a very crappy solution but i am still working my way Through, suggestions for improving that is highly appreciated.
Now the Issue: After a while (multiple hours) i start to receive the response. Header 503
And as a Body a Div containing: Error 503 Backend.max_conn reached
if you search for that error message barely anything comes up. I coded my Bot in a way to respect the Ratelimits (if a 429 Response comes back) but it does not seem to happen but receive a 503
Sidenode: I use my Applications Client-ID as a Header and usually it works perfectly fine.
Thanks AHead!