# Error when trying to create an event

**URL:** https://meta.discourse.org/t/error-when-trying-to-create-an-event/405428
**Category:** Bug
**Tags:** events, fixed
**Created:** [June 16, 2026, 6:08pm UTC](https://meta.discourse.org/t/error-when-trying-to-create-an-event/405428 "2026-06-16T18:08:30Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![newbit1337](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@newbit1337](https://meta.discourse.org/u/newbit1337)
#### Post date: [June 16, 2026, 6:08pm UTC](https://meta.discourse.org/t/error-when-trying-to-create-an-event/405428/1 "2026-06-16T18:08:30Z")

</div>

When trying to create an event, I get the following error in my logs:  
`on(:post_created) handler error : ActiveRecord::RecordInvalid : Validation failed: An event accepts only group names.`  
 ![events_log](https://global.discourse-cdn.com/meta/optimized/4X/c/e/a/cea861ae55b62dc651f6ad7de0ad22fa85923a38_2_690x14.jpeg)

Creating the event:

 ![event_1](https://global.discourse-cdn.com/meta/original/4X/f/8/f/f8fd1e57123cb3609cb320bde0b49eb922920e85.jpeg)

Topic after thread creation:

 ![event_2](https://global.discourse-cdn.com/meta/original/4X/c/5/7/c572edbeefcb0cb4df7f255cd4e5b022f0a711ad.jpeg)

This happens to me, when I try to create an event via the “upcoming events” calendar, and also if I try it via normal topic creation.

I could not find anything about it, so I assume it’s a bug?  
Does anybody else have this problem?

Discourse version: 2026.6.0-latest

Thanks,  
newbit1337

---

_[View the full topic](https://meta.discourse.org/t/error-when-trying-to-create-an-event/405428)._
