# Issue in JSON in API

**URL:** <https://discuss.dev.twitch.com/t/issue-in-json-in-api/44711>\
**Category:** API\
**Created:** [April 2, 2023, 10:46pm UTC](https://discuss.dev.twitch.com/t/issue-in-json-in-api/44711 "2023-04-02T22:46:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![huz](https://avatars.discourse-cdn.com/v4/letter/h/65b543/32.png) [@huz](https://discuss.dev.twitch.com/u/huz)\
**Post date:** [April 2, 2023, 10:46pm UTC](https://discuss.dev.twitch.com/t/issue-in-json-in-api/44711/1 "2023-04-02T22:46:05Z")

</div>

Hey,  
When making a request to the API ([https://tmi.twitch.tv/group/user/CHANNEL/chatters](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 :

 ![Extra comma](https://d2opxh93rbxzdn.cloudfront.net/original/3X/5/b/5b278f89ad7c9e28217f656e7bbe6ad5d33cf05a.png)

Can you please help me to bypass this issue?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [April 2, 2023, 10:49pm UTC](https://discuss.dev.twitch.com/t/issue-in-json-in-api/44711/2 "2023-04-02T22:49:03Z")

</div>

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](https://discuss.dev.twitch.com/t/legacy-chatters-endpoint-shutdown-details-and-timeline-april-2023/43161).

Please use the [Get Chatters](https://dev.twitch.tv/docs/api/reference/#get-chatters) endpoint if you wish to continue retrieving a list of users connected to chat on a channel.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [May 2, 2023, 10:49pm UTC](https://discuss.dev.twitch.com/t/issue-in-json-in-api/44711/3 "2023-05-02T22:49:22Z")

</div>

Closed on May 2, 2023, 10:49pm UTC

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