# Cannot add tags via the API

**URL:** <https://meta.discourse.org/t/cannot-add-tags-via-the-api/44120>\
**Category:** Support\
**Created:** [May 12, 2016, 2:10pm UTC](https://meta.discourse.org/t/cannot-add-tags-via-the-api/44120 "2016-05-12T14:10:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Diana\_Naranjo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/diana_naranjo/32/121727_2.png) [@Diana\_Naranjo](https://meta.discourse.org/u/Diana_Naranjo)\
**Post date:** [June 8, 2016, 6:06pm UTC](https://meta.discourse.org/t/cannot-add-tags-via-the-api/44120/5 "2016-06-08T18:06:55Z")

</div>

Thank you, I realize now that I was trying to set the tags using a header  
`Content-type: application/json` when it should be `Content-Type: application/x-www-form-urlencoded`

---

_[View the full topic](https://meta.discourse.org/t/cannot-add-tags-via-the-api/44120)._
