# Ошибка при попытке обновить список наблюдения для группы через API (PUT groups/{id}.json)

**URL:** https://meta.discourse.org/t/error-when-trying-to-update-the-watchlist-for-a-group-via-api-put-groups-id-json/393572
**Category:** Bug
**Tags:** groups, rest-api
**Created:** [15.Январь.2026 18:19:44 UTC](https://meta.discourse.org/t/error-when-trying-to-update-the-watchlist-for-a-group-via-api-put-groups-id-json/393572 "2026-01-15T18:19:44Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![apf](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@apf](https://meta.discourse.org/u/apf)
#### Post date: [17.Январь.2026 07:43:01 UTC](https://meta.discourse.org/t/error-when-trying-to-update-the-watchlist-for-a-group-via-api-put-groups-id-json/393572/6 "2026-01-17T07:43:01Z")

</div>

Огромное спасибо, @zogstrip! Теперь всё работает! 😃

(и просто для справки, `"update_existing_users"=True` должно находиться снаружи/параллельно элементу “group” в отправляемом JSON (здесь показано в синтаксисе Python, поэтому `True` преобразуется в строку `"true"`):

```plaintext
            jsonData={
                "group": {
                    "name": f"{groupName}",
                    "watching_category_ids": newWatchList,
                },
                "update_existing_users": True,
            },

```

---

_[View the full topic](https://meta.discourse.org/t/error-when-trying-to-update-the-watchlist-for-a-group-via-api-put-groups-id-json/393572)._
