-
Notifications
You must be signed in to change notification settings - Fork 252
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
CalendarView.Delta - Error Parsing OData Select and Expand failed: Value cannot be null. (Parameter 'initialState') #2678
Comments
Thanks for raising this @adryone According to the API documentation at the link below, it looks like passing $select is not supported in this endpoint. Any chance you are able to get a successful response if you don't pass a select parameter? |
Hi andrueastman, First of all a precisation: the error I receive is for the Expand parameter, not for the Select; I use the Select without problem (the fields returned are corresponding to my Select value). I'm confused searching further documentation on this question. At the link https://learn.microsoft.com/en-us/graph/api/event-delta?view=graph-rest-1.0&tabs=http#odata-query-parameters (dated on 10/27/2023) it seems you'll right. Thanks |
Hi andrueastman, starting from the issue at OData/odata.net#1162, I don't understand if this pr will be never solved; can you help me? is there a possible solution for my issue? Thanks |
As we are making the request to the calendar API, I believe we should rely on this documentation as the other document only addresses limitation in the groups/users api. Any chance you can also post the question at the link below? As this repo is mainly intended for SDK related issues, we may not know if this is really supported and the API owners should be able to give clarity here. |
Hi andrueastman, yes, I switch to the link you suggested. Thanks |
Thanks for this. We'll close this for now and re-open incase for anything SDK related. Feel free to create a new issue incase of anything. |
Describe the bug
In the below code lines:
the .Expand setting produces the error
"Parsing OData Select and Expand failed: Value cannot be null. (Parameter 'initialState')"
Omitting the .Expand setting, there is no error.
The same .Expand setting is used in normal (no Delta) .CalendarView.GetAsync() request without error.
Expected behavior
Correct response (no exception).
How to reproduce
string expand = "SingleValueExtendedProperties($filter=Id eq 'String {f0b37059-bb45-47a2-b119-44ecdf894aed} Name NumeroPratica')";
SDK Version
5.56.1
Latest version known to work for scenario above?
No response
Known Workarounds
No wotkaround
Debug output
Configuration
OS: windows 11 pro, x64
Other information
No response
The text was updated successfully, but these errors were encountered: