microsoftgraph / microsoftgraph/msgraph-sdk-java
Error in PATCH onlineMeeting
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 444
- Fork
- 154
- Merge trung bình
- 18 giờ 28 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
Describe the bug
Hello,
I have integrated microsoft graph sdk to programmatically manage onlineMeetings. Since a couple of days I am getting errors in updating onlineMeetings (PATCH methods) even with this simple request:
PATCH https://graph.microsoft.com/v1.0/users/<owners_uid>/onlineMeetings/
{
"@odata.type": "#microsoft.graph.onlineMeeting",
"allowAttendeeToEnableCamera": true
}
response:
{
"error": {
"code": "InvalidArgument",
"message": "One or more properties do not support updating. Please refer to Microsoft Graph documentation for more information.",
"innerError": {
"date": "2026-05-11T09:52:54",
"request-id": "c33e69dd-de32-4030-a393-d6cd63a449ea",
"client-request-id": "c33e69dd-de32-4030-a393-d6cd63a449ea"
}
}
}
as a workaround I have used object.getBackingStore().clear(); just after its creation before passing it to the patch. This will delete the parameter "@odata.type": "#microsoft.graph.onlineMeeting" making it work again.
EDIT 2026-05-11 08:07:00: at the moment issue seems to have been fixed.
Expected behavior
PATCH https://graph.microsoft.com/v1.0/users/<owners_uid>/onlineMeetings/
{
"@odata.type": "#microsoft.graph.onlineMeeting",
"allowAttendeeToEnableCamera": true
}
returns 200 with updated onlineMeeting
How to reproduce
try to patch an existing meeting using the java sdk for example setting the parameter allowAttendeeToEnableCamera
sdk under the hood will automatically add
"@odata.type": "#microsoft.graph.onlineMeeting"
to the http patch
it used to work in the past, but since a couple of days it returns:
"error": {
"code": "InvalidArgument",
"message": "One or more properties do not support updating. Please refer to Microsoft Graph documentation for more information.",
SDK Version
6.64.0
Latest version known to work for scenario above?
No response
Known Workarounds
as a workaround I have used object.getBackingStore().clear(); just after its creation before passing it to the patch. This will delete the parameter "@odata.type": "#microsoft.graph.onlineMeeting" making it work again.
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện yêu cầu PATCH tới endpoint onlineMeetings với Java SDK 6.64.0, sử dụng allowAttendeeToEnableCamera và quan sát xem @odata.type có được gửi hay không. So sánh yêu cầu với phản hồi 200 dự kiến được ghi lại trong tài liệu và workaround getBackingStore().clear(); được xem là hoàn tất khi PATCH thành công mà không cần tự mình xóa backing store.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100