gpt4 book ai didi

json - 使用 Beta API 创建新 session 时出现 "onlinemeeting cannot be null"错误

转载 作者:行者123 更新时间:2023-12-05 08:07:51 25 4
gpt4 key购买 nike

我正尝试根据 the documentation 创建一个新 session :

POST https://graph.microsoft.com/beta/app/onlineMeetings

(包含不记名 token - 可与其他操作一起正常工作)

{
"meetingType": "meetNow",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "54f84a95-91c1-49f1-8d81-4632342e2c1e"
}
}
}
},
"startTime": "2018-10-10T14:46:02Z",
"subject": "my meeting"
}

我收到这个错误:

{
"error": {
"code": "UnknownError",
"message": "{\"message\":\"onlinemeeting cannot be null.\"}",
"innerError": {
"request-id": "da54bfec-c987-4e02-b4b6-1844801d5f00",
"date": "2018-10-18T09:52:25"
}
}
}

感谢任何帮助,谢谢。

最佳答案

有点晚了,但对于其他 googlelers,

有一个错误,它不是 startTime,而是缺少 StartDateTime 和 EndDateTime。

你的 json 应该是这样的

{
"startDateTime":"2019-09-09T14:33:30.8546353z",
"endDateTime":"2019-09-09T15:03:30.8566356z",
"subject":"Subject of schedule",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "my oid"
}
}
}
}
}

关于json - 使用 Beta API 创建新 session 时出现 "onlinemeeting cannot be null"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52871568/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com