Zoho Calendar API Create Event - Returning "description": "eventdata missing."

Zoho Calendar API Create Event - Returning "description": "eventdata missing."

I am trying to do a post and create a new event, it is returning "eventdata missing" and "Less_than_min_occurance"  I have tried to delete the nested json inside of the first eventdata and still the same issue. Any insight? 


  1.     eventdata = {
  2.         "eventdata": {
  3.             "dateandtime": {
  4.                 "timezone": "Asia/Kolkata",
  5.                 "start": "20240216",
  6.                 "end": "20240216"
  7.             },
  8.             "title": "test invitation",
  9.             "attendees": [
  10.                 {
  11.                     "email": "user2@pavi1.com",
  12.                     "status": "NEEDS-ACTION"
  13.                 }
  14.             ],
  15.             "conference": "zmeeting"
  16.         }
  17.     }

  18.     # Construct the full URL for the API request
  19.     api_endpoint = f"https://calendar.zoho.eu/api/v1/calendars/{CALENDAR_UID}/events"
  20.     
  21.     # Set up the headers with the access token
  22.     headers = {
  23.         'Authorization': f'Bearer {ACCESS_TOKEN}',
  24.         'Content-Type': 'application/json' 
  25.     }

  26.     # Make the POST request to the Zoho Calendar API
  27.     response = requests.post(api_endpoint, json=eventdata, headers=headers)