You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I'm not showing the list of users above, but users is an array of hashes I'm pulling from for testing this example.
But it outputs:
#<MicrosoftGraphBeta::Models::ODataErrorsMainError:0x0000ffff92322638
@additional_data={},
@code="InvalidArgument",
@inner_error=
#<MicrosoftGraphBeta::Models::ODataErrorsInnerError:0x0000ffff92322368
@additional_data={"date"=>"2024-06-05T15:00:32"},
@client_request_id="<REDACTED>",
@request_id="<REDACTED>">,
@message="[ids]: Required property 'ids' not found in JSON. Path '', line 1, position 2.">
If I look at the body I will see the ids in the array, but for some reason serialization isn't working?
I tested the serializer and that seems to work fine, but its something about GetPresencesByUserIdRequestBuilder.to_post_request_information#56 as the line seems to the what actually uses it, but the content if I manually call it :
ri = client.communications.get_presences_by_user_id.to_post_request_information(body)
Hi @mattdrewitt
Thanks for using the SDK and for reaching out.
Yes, the code you've shared looks correct, and it does look like a serialization issue.
Here is roughly the trace of the calls
I have the following code:
Note: I'm not showing the list of users above, but users is an array of hashes I'm pulling from for testing this example.
But it outputs:
If I look at the body I will see the ids in the array, but for some reason serialization isn't working?
I tested the serializer and that seems to work fine, but its something about
GetPresencesByUserIdRequestBuilder.to_post_request_information#56
as the line seems to the what actually uses it, but the content if I manually call it :is blank:
I'm not sure if I'm doing something wrong or this is broken. Let me know if you need more details.
The text was updated successfully, but these errors were encountered: