-
Notifications
You must be signed in to change notification settings - Fork 253
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
[Client bug]: Microsoft.Graph 5.4.0 generates invalid request Uris for GetDirectRoutingCallsWithFromDateTimeWithToDateTime #1787
Comments
Related to microsoft/OpenAPI.NET.OData#365 |
This comment was marked as outdated.
This comment was marked as outdated.
After further investigations:
So it's effectively AGS messing up the request. We should probably open an ICM on them. |
Thanks for this @baywet Taking a look at the URI's above, it looks like the first two generate the same URI with the full namespace and with the whole namespace stripped. While the third one generates As the metadata does not have an alias for the |
ah, so there's no alias being defined? then yes, it's an issue of the conversion process. Thanks for calling this out. |
This would be the same for #1691 as the |
Describe the bug
When calling
CallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime
the current Microsoft.Graph SDK/client generates a wrong request URL (resulting in HTTP 404) and invalid filter parameter format (resulting in HTTP 404 as well as the route doesn't seem to match). This is a followup/related to #1443 and potentially microsoft/OpenAPI.NET.OData#262 and I hope @andrueastman will have a look at this as well.As far as I can tell this did not work yet in any dotnet graph SDK version.
To Reproduce
Expected behavior
Call records are being returned.
Screenshots
Client version
https://www.nuget.org/packages/Microsoft.Graph/5.4.0
Desktop (please complete the following information):
Workaround
The following snippet shows how to override the url template and encode the parameters in the working format:
The text was updated successfully, but these errors were encountered: