When creating or updating an event through the API, I can't get the "subcategory_id" to properly set. "format_id" and "category_id" both work, but when I add in "subcategory_id", I get the following error:
I've tried the following, and they all failed:
- Passing 'subcategory_id' during the initial creation of an Event
- Passing 'subcategory_id' during an update of an Event
- Passing 'subcategory_id' during the initial creation of an Event Series
Any thoughts?
This is the data I'm passing:
data = {
"event": {
"name": {
"html": event_title
},
"description": {
"html": f"<p>{event_summary}</p>"
},
"start":{
"timezone": "America/New_York",
"utc": event_start
},
"end":{
"timezone": "America/New_York",
"utc": event_end
},
"currency": "USD",
"shareable": "true",
"organizer_id": organizer_id,
"capacity": globals.EVENTBRITE_CAPACITY,
"is_series": "true",
"format_id": format_id,
"category_id": category_id,
"subcategory_id": subcategory_id
}}