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 | 4 | 769 | 01.06.2019 | |
| Posting to sub category not working for me | 4 | 1187 | 13.07.2019 | |
| Posting a new topic via API | 7 | 3863 | 29.01.2025 | |
| Create topic using Discourse API | 3 | 1046 | 03.11.2022 | |
| Using the Discourse API ruby gem to post a topic as a specific user | 9 | 1284 | 03.10.2018 |