Issue in JSON in API

Hey,
When making a request to the API (https://tmi.twitch.tv/group/user/CHANNEL/chatters), I am sometimes not able to stringify the received data because of an error in the data.
Indeed, an extra comma appears in the JSON, like so :

Can you please help me to bypass this issue?

The endpoint you’re using is deprecated, and will be permanently shut down tomorrow as outlined in the announcement post https://discuss.dev.twitch.com/t/legacy-chatters-endpoint-shutdown-details-and-timeline-april-2023/43161.

Please use the Get Chatters endpoint if you wish to continue retrieving a list of users connected to chat on a channel.

1 Like

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