我正试图插入 calendarList
使用google calendar api v3.请求主体包含conferenceProperties
其中允许 conferenceProperties.allowedConferenceSolutionTypes[]
作为列表 {eventHangout,eventNamedHangout,hangoutsMeet}
.
当我尝试使用任何一个 conferenceProperties.allowedConferenceSolutionTypes[]
但幸运的是,当请求中不包含以下内容时,它就会工作。conferenceProperties.allowedConferenceSolutionTypes[]
.
为什么我不能选择 "eventHangout "为 conferenceProperties.allowedConferenceSolutionTypes[]
?
Error: 400 bad request
"domain": "global",
"reason": "invalid",
"message": "Invalid Value"
HTTP: POST
https://www.googleapis.com/calendar/v3/users/me/calendarList
request body:
{
"id": "[email protected]",
"kind": "calendar#calendarListEntry",
"summaryOverride": "",
"colorId": "18",
"backgroundColor": "#b99aff",
"foregroundColor": "#000000",
"selected": false,
"hidden": false,
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"eventHangout"
]
}
}