# Error 500 when creating a new category

**URL:** https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454
**Category:** Support
**Created:** [February 15, 2024, 9:37am UTC](https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454 "2024-02-15T09:37:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![starbug29](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/starbug29/32/363401_2.png) [@starbug29](https://meta.discourse.org/u/starbug29)
#### Post date: [February 15, 2024, 9:37am UTC](https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454/1 "2024-02-15T09:37:01Z")

</div>

Hello! I am trying to create a new category in my discourse forum and add security, change the colour etc. but I am always getting the “500 Error” message. I finally managed to save a category (after changing the foreground colour to black), but I cannot do anything else to the category now.

I recently added an API key that I never used, and have now destroyed. I am wondering if that caused this problem?

I’m not very technical so I’m not sure how to fix it. Can anyone help me? Thanks so much!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 15, 2024, 10:05am UTC](https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454/2 "2024-02-15T10:05:48Z")

</div>

Hello and welcome @starbug29 🙂

I don’t think creating and deleting the API would be affecting this in any way, so I think you’re good there. 👍

If you check your `[YourSite]/logs` there may be some extra information on what’s causing the errors. Could you look in there and see if there’s anything relevant?

---

<div class="post-metadata">

### Author: ![starbug29](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/starbug29/32/363401_2.png) [@starbug29](https://meta.discourse.org/u/starbug29)
#### Post date: [February 15, 2024, 10:39am UTC](https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454/3 "2024-02-15T10:39:20Z")

</div>

Thanks for replying so quickly @JammyDodger ! I appreciate it.

Here is a screenshot from the error logs

 ![Screenshot 2024-02-15 at 11.37.07](https://global.discourse-cdn.com/meta/original/4X/3/3/5/335eca84fd2529bd4b8e85808b13a0a32c417d18.png)

---

<div class="post-metadata">

### Author: ![starbug29](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/starbug29/32/363401_2.png) [@starbug29](https://meta.discourse.org/u/starbug29)
#### Post date: [February 15, 2024, 10:42am UTC](https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454/4 "2024-02-15T10:42:54Z")

</div>

Well, never mind! I contacted the support of the folks who are hosting my forum and they said they restarted the software and it seems to have solved the issue, hooray!

Although they don’t know why it has happened…it is fixed however.

Thanks for your help and speedy responses anyway.

---

<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: [March 16, 2024, 10:43am UTC](https://meta.discourse.org/t/error-500-when-creating-a-new-category/295454/5 "2024-03-16T10:43:07Z")

</div>

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