Why can't I add an event to my calendar in Zoho Creator/Deluge?

Why can't I add an event to my calendar in Zoho Creator/Deluge?

I am trying to build a script using Deluge in Zoho Creator which will create a calendar event in Zoho Calendar when a new form is submitted or an existing form is updated. I am using the Zoho Calendar connection with the following code:

  1. response = zoho.calendar.createEvent("<calendar-uid>", {"title":"New Event","dateandtime": {"start": "20210307T110000+0530","end": "20210308T120000+0530","timezone": "Asia/Kolkata"}}, "my_calendar_connection");

  2. info response;
The response returns:
  1. {"error":[{"description":"eventdata missing.","message":"LESS_THAN_MIN_OCCURANCE"}]}
I created a custom calendar connection in the Zoho Creator connections page. I see that there was a system provided Calendar connection, but when I clock "Authorize", nothing happens. I created my own to see if it made any difference.
Created connections in the Zoho Creator connections page.
Am I missing any steps here?

          Zoho Marketing Automation
                  • Sticky Posts

                  • Function #41: Sync Associated Subforms!

                    Welcome back everyone! The last custom function showed how to update a Contact with Product details from it's Related list in Deals. This week, let's look at a function that lets you update subform records in two modules simultaneously when one of them is updated. Business scenario Let's look at how subform helps in an education institution that has deployed Zoho CRM. National Public School, Austin (made up, of course!) has set up Zoho CRM and it follows the same relationship pattern of "Students",

                  Zoho Pagesense Resources

                    Zoho SalesIQ Resources

                          Zoho TeamInbox Resources

                            Zoho DataPrep Resources

                              Zoho CRM Plus Resources

                                Zoho Books Resources

                                  Zoho Subscriptions Resources

                                    Zoho Desk Resources

                                      Zoho Projects Resources

                                        Zoho Sprints Resources

                                          Qntrl Resources

                                            Zoho Creator Resources

                                              Zoho WorkDrive Resources

                                                  Zoho Campaigns Resources

                                                    Zoho CRM Resources

                                                          Design. Discuss. Deliver.

                                                          Create visually engaging stories with Zoho Show.

                                                          Get Started Now