# API 범위 \`all-users\`가 더 이상 작동하지 않음

**URL:** https://meta.discourse.org/t/api-scope-all-users-not-working-anymore/399597
**Category:** Development
**Tags:** rest-api
**Created:** [3월 30, 2026, 9:25오후 UTC](https://meta.discourse.org/t/api-scope-all-users-not-working-anymore/399597 "2026-03-30T21:25:30Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [3월 30, 2026, 9:25오후 UTC](https://meta.discourse.org/t/api-scope-all-users-not-working-anymore/399597/1 "2026-03-30T21:25:30Z")

</div>

다음은 이전에 사용자를 생성하고 해당 사용자에게 게시물을 좋아하게(Like) 했던 Python 코드 조각입니다.

```plaintext
i = i + extra
            pw = nanoid.generate(size=150)
            name = f"User{nanoid.generate(size=5, alphabet='abcdefghijklmnopqrstuvwxyz')}.{i}"

            username = str(name)
            print(f"spam_{i}@notpyx.me")

            resp = httpx.post(
                url="https://discourse.pyxfluff.dev/users.json",
                json={
                    "name": f"User.{i}",
                    "email": f"discourse.{i}@notpyx.me",
                    "username": username,
                    "password": str(pw),
                    "active": True,
                    "approved": True,
                },
                headers={"Api-Key": API_KEY, "Api-Username": "system"},
            )
            resp.raise_for_status()

            rp(f"[green]Made {username}: {pw}[/]")

            if like_post_id:
                try:
                    print(
                        httpx.post(
                            url="https://discourse.pyxfluff.dev/post_actions.json",
                            json={"id": int(like_post_id), "post_action_type_id": 2},
                            headers={"Api-Key": API_KEY, "Api-Username": username},
                        ).json()
                    )

```

이후로 게시물을 생성하고 전송하는 기능이 있었습니다. 하지만 지난 한 달 사이부터 작동이 멈추고 400 오류만 반환되고 있습니다.

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/d/8/cd87b7a823e22b75762efe5368f2814b19ead70f.png)

이 스크립트는 얼마 전까지만 해도 완벽하게 작동했습니다. 제가 알지 못하는 사이에 어떤 것이 변경된 건가요?

---

_[View the full topic](https://meta.discourse.org/t/api-scope-all-users-not-working-anymore/399597)._
