# Problem creating a category using the API

**URL:** <https://meta.discourse.org/t/problem-creating-a-category-using-the-api/59026>\
**Category:** Development\
**Created:** [March 13, 2017, 9:19pm UTC](https://meta.discourse.org/t/problem-creating-a-category-using-the-api/59026 "2017-03-13T21:19:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [March 14, 2017, 10:01am UTC](https://meta.discourse.org/t/problem-creating-a-category-using-the-api/59026/3 "2017-03-14T10:01:52Z")

</div>

Thanks @blake. You lead me to try Postman, which in turn allowed me to discover my silly mistake: I wasn’t passing the api\_key and api\_username properly. I guess it worked earlier with creating a topic because this operation doesn’t require authentication.

---

_[View the full topic](https://meta.discourse.org/t/problem-creating-a-category-using-the-api/59026)._
