# Can't send PM via API (HTTPUnprocessableEntity 422)

**URL:** <https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [January 1, 2017, 4:04am UTC](https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017 "2017-01-01T04:04:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [January 1, 2017, 5:27pm UTC](https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017/4 "2017-01-01T17:27:12Z")

</div>

given it’s a 422, you are probably not hitting a rate limit.

Can you show the full code please ?

---

_[View the full topic](https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017)._
