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 Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner

                                                                      





                                                                      




                                                                          Design. Discuss. Deliver.

                                                                          Create visually engaging stories with Zoho Show.

                                                                          Get Started Now