I try to integrating google calendar with frappe,
Im successfully integrating, but when try to make a new event with sync with google calendar got error with calendarId
### App Versions
{
“crm”: “2.0.0-dev”,
“erpnext”: “16.0.0-dev”,
“frappe”: “16.0.0-dev”,
“frappe_whatsapp”: “1.0.7”,
“hrms”: “16.0.0-dev”
}
### Route
Form/Event/new-event-iypwzdpmdn
### Traceback
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 115, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/api/init.py”, line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/api/v1.py”, line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 49, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1822, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/utils/typing_validations.py”, line 32, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/desk/form/save.py”, line 39, in savedocs
doc.save()
File “apps/frappe/frappe/model/document.py”, line 340, in save
return self._save(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 362, in _save
return self.insert()
^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 311, in insert
self.run_method(“after_insert”)
File “apps/frappe/frappe/model/document.py”, line 979, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 1362, in composer
return composed(self, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 1344, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/integrations/doctype/google_calendar/google_calendar.py”, line 436, in insert_event_in_google_calendar
.insert(
^^^^^^^
File “env/lib/python3.12/site-packages/googleapiclient/discovery.py”, line 1019, in method
raise TypeError(‘Missing required parameter “%s”’ % name)
TypeError: Missing required parameter “calendarId”
### Request Data
{
“type”: “POST”,
“args”: {
“doc”: “{"docstatus":0,"doctype":"Event","name":"new-event-iypwzdpmdn","__islocal":1,"__unsaved":1,"owner":"Administrator","event_category":"Event","event_type":"Private","send_reminder":1,"repeat_this_event":0,"status":"Open","all_day":0,"sync_with_google_calendar":1,"add_video_conferencing":0,"pulled_from_google_calendar":0,"repeat_on":"","monday":0,"tuesday":0,"wednesday":0,"thursday":0,"friday":0,"saturday":0,"sunday":0,"event_participants":,"subject":"dw","starts_on":"2024-09-28 20:54:32","google_calendar_id":null,"google_calendar":"Wahyu Triono"}”,
“action”: “Save”
},
“btn”: {
“jQuery3700295522385502126061”: {
“events”: {
“click”: [
{
“type”: “click”,
“origType”: “click”,
“guid”: 431,
“namespace”: “”
}
]
}
}
},
“freeze”: true,
“headers”: {},
“error_handlers”: {},
“url”: “/api/method/frappe.desk.form.save.savedocs”,
“request_id”: null
}
### Response Data
{
“exception”: “TypeError: Missing required parameter "calendarId"”,
“exc_type”: “TypeError”
}