-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty payload exception when creating meeting with sdk 6.7.0 #1972
Comments
@slowcar did this work in previous versions of the SDK? Do other POST requests fail? Would you mind sharing a code sample? |
no, downgrading to 6.6 or 6.4 did not resolve the issue. The request is fairly simple, with email and folderId being set by parameters: We only use graph for online meetings with a meeting provider, for everything else we are still using EWS. |
Just saw that i reported the issue before and it was marked as fixed with a kiota update |
I cannot reproduce the issue anymore with 6.11 |
I try to create a meeting using the graph sdk 6.7.0 on Android
Expected behavior
A meeting is created
Actual behavior
An ODataError is returned: Empty Payload. JSON content expected.
The log shows the body that is being sent and a content-length header of 506, but also logs "0-byte body":
`GraphService - --> POST https://graph.microsoft.com/v1.0/users/xxx/calendars/xxx/events
GraphService - Content-Length: 506
GraphService - authorization: Bearer xxx
GraphService - accept: application/json
GraphService - content-type: application/json
GraphService - SdkVersion: graph-java, graph-java-core/3.1.9 (featureUsage=1203; android/29)
GraphService - client-request-id: 69289c71-2a09-41f7-a505-9872e6705c5a
GraphService - User-Agent: kiota-java/1.1.1
GraphService -
GraphService - {"changeKey":null,"id":null,"@odata.type":"#microsoft.graph.event","attendees":[],"body":{"content":"","contentType":"html"},"end":{"dateTime":"2024-04-29T10:00:00.000","timeZone":"W. Europe Standard Time"},"isAllDay":false,"isOnlineMeeting":true,"isReminderOn":true,"location":{"displayName":"Microsoft Teams"},"onlineMeetingProvider":"teamsForBusiness","reminderMinutesBeforeStart":15,"showAs":"busy","start":{"dateTime":"2024-04-29T09:00:00.000","timeZone":"W. Europe Standard Time"},"subject":"onlein"}
GraphService - --> END POST (0-byte body)`
Steps to reproduce the behavior
create a meeting with graph sdk (on android?)
The text was updated successfully, but these errors were encountered: