Ahhhh apparently error 422 is rate-limiting. The category “number” IS actually “text” (a string). Making bot account admin seemed to do the trick for the limiting (…but why do I have to make it an ADMIN to edit rate limiting? Seems a bit of a dramatic upgrade for such) and “15” as the category as a string.
dylanh724
(dh)
2
Связанные темы
| Тема | Ответов | Просм. | Активность | |
|---|---|---|---|---|
| API POST to /posts.json inconsistent between users | 3 | 774 | 29.05.2019 | |
| Posting to sub category not working for me | 2 | 1204 | 02.06.2017 | |
| Posting a new topic via API | 7 | 3906 | 29.01.2025 | |
| Create topic using Discourse API | 3 | 1065 | 03.11.2022 | |
| Using the Discourse API ruby gem to post a topic as a specific user | 9 | 1310 | 03.10.2018 |