# Can't create topic with tags

**URL:** https://meta.discourse.org/t/cant-create-topic-with-tags/330462
**Category:** Support
**Tags:** rest-api
**Created:** [October 11, 2024, 4:47pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462 "2024-10-11T16:47:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Rick\_Jing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rick_jing/32/354677_2.png) [@Rick\_Jing](https://meta.discourse.org/u/Rick_Jing)
#### Post date: [October 11, 2024, 4:47pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/1 "2024-10-11T16:47:38Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/f/3/5/f354e834f598f4e6a19ac36b644e260fa857c2ba.png)

I tried to create topic with tags, got 500 internal server error,  
there’s no permission issue, I can create topic without tags via API and create topic with those tags on the web application.  
is anything I missed here?  
edit: re-upload the screenshot

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [October 11, 2024, 5:48pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/2 "2024-10-11T17:48:14Z")

</div>

Your api key and username are still readable, please invalidate that key ASAP.

---

<div class="post-metadata">

### Author: ![Rick\_Jing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rick_jing/32/354677_2.png) [@Rick\_Jing](https://meta.discourse.org/u/Rick_Jing)
#### Post date: [October 11, 2024, 5:49pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/3 "2024-10-11T17:49:45Z")

</div>

how could people see it?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 11, 2024, 5:51pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/4 "2024-10-11T17:51:36Z")

</div>

Because it is not entirely black.  
With a little editing you can easily read it

 ![Screenshot_20241011_195053_Firefox](https://global.discourse-cdn.com/meta/original/4X/c/b/2/cb2a3bb5006960b9106a0bafd7bab73707de8e8b.jpeg)

---

<div class="post-metadata">

### Author: ![Rick\_Jing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rick_jing/32/354677_2.png) [@Rick\_Jing](https://meta.discourse.org/u/Rick_Jing)
#### Post date: [October 11, 2024, 5:52pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/5 "2024-10-11T17:52:50Z")

</div>

thank you, didn’t check carefully, I disabled the api key.

---

<div class="post-metadata">

### Author: ![Rick\_Jing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rick_jing/32/354677_2.png) [@Rick\_Jing](https://meta.discourse.org/u/Rick_Jing)
#### Post date: [October 13, 2024, 10:47pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/6 "2024-10-13T22:47:23Z")

</div>

NoMethodError showed in the log.  
solve it by using `"tags[]": ["test1","test2"]`  
thanks everyone who replied.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 12, 2024, 10:48pm UTC](https://meta.discourse.org/t/cant-create-topic-with-tags/330462/7 "2024-11-12T22:48:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
