# Internal server error setting tags via the api

**URL:** <https://meta.discourse.org/t/internal-server-error-setting-tags-via-the-api/100137>\
**Category:** Product Support\
**Created:** [October 22, 2018, 6:37am UTC](https://meta.discourse.org/t/internal-server-error-setting-tags-via-the-api/100137 "2018-10-22T06:37:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Akki9326](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@Akki9326](https://meta.discourse.org/u/Akki9326)\
**Post date:** [October 22, 2018, 7:16am UTC](https://meta.discourse.org/t/internal-server-error-setting-tags-via-the-api/100137/3 "2018-10-22T07:16:34Z")

</div>

does discourse need X-CSRF-TOKEN?  
if we pass “api key”. bcz we are sending api key in our request still it shows `"Can’t verify CSRF token authentiity"`.

---

_[View the full topic](https://meta.discourse.org/t/internal-server-error-setting-tags-via-the-api/100137)._
