# Discourse Drafts API가 작동하지 않습니다

**URL:** <https://meta.discourse.org/t/discourse-drafts-api-not-working/265036>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [5월 15, 2023, 10:23오전 UTC](https://meta.discourse.org/t/discourse-drafts-api-not-working/265036 "2023-05-15T10:23:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [5월 15, 2023, 11:11오전 UTC](https://meta.discourse.org/t/discourse-drafts-api-not-working/265036/2 "2023-05-15T11:11:13Z")

</div>

API를 조금 만져 보고 간단히 확인해 봤는데, Insomnia에서 500 오류가 반환됩니다. 😖

관리자 API 키를 사용하고 있으며, Insomnia에서 /drafts.json에 POST 요청을 보내는 데 다음 페이로드를 사용했습니다:

```json
{
  "draft_key": "new_topic",
  "sequence": 181,
  "data": {
    "reply": "test draft",
    "action": "createTopic",
    "title": "Here's a draft topic again",
    "categoryId": 4,
    "archetypeId": "regular",
    "metaData": null,
    "composerTime": 11311,
    "typingTime": 3200
  },
  "owner": "fa8073ea509544319371333121ca878e",
  "force_save": false
}

```

“reply” 초안 요청을 보내도 동일한 500 오류가 발생합니다.

도움이 될 수 없어 죄송하지만, 왜 작동하지 않는지 저도 궁금합니다. 🧑‍💻 ❔

---

_[View the full topic](https://meta.discourse.org/t/discourse-drafts-api-not-working/265036)._
