# Replying to PM via API not working anymore

**URL:** <https://meta.discourse.org/t/replying-to-pm-via-api-not-working-anymore/145037>\
**Category:** Product Support\
**Created:** [21 במרץ,‏ 2020,‏ 12:09pm UTC](https://meta.discourse.org/t/replying-to-pm-via-api-not-working-anymore/145037 "2020-03-21T12:09:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Rina\_Fallingstar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rina_fallingstar/32/168391_2.png) [@Rina\_Fallingstar](https://meta.discourse.org/u/Rina_Fallingstar)\
**Post date:** [21 במרץ,‏ 2020,‏ 12:09pm UTC](https://meta.discourse.org/t/replying-to-pm-via-api-not-working-anymore/145037/1 "2020-03-21T12:09:59Z")

</div>

I’ve noticed there was a [fix](https://review.discourse.org/t/fix-ensures-we-dont-attempt-to-create-a-new-pm-on-an-existing-topic-9029/9319) to discourse almost a month ago where you can’t create a PM on an existing topic anymore. I never knew this was the issue at all. But it seems this fix “broke” the ability to reply to PM messages through the API.

The response from the discourse server contains the following error: [“Sorry, you can’t create a PM on an existing topic.”].  
We are sending the following (example):

```plaintext
url: /posts
json: {
  raw: "message goes here",
  topic_id: 31,
  archetype: "private_message"
}

```

Can anyone help me fix this issue? Is there another way to reply to PM?  
Thank you.

---

_[View the full topic](https://meta.discourse.org/t/replying-to-pm-via-api-not-working-anymore/145037)._
