-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Labels
Description
Describe the bug
Any attempt to use $select query parameter to limit amount of Todo task data ends with HTTP 400 "Invalid request" exception.
I tried to use $select in requests of get tasks from tasks list and get individual task. Both requests throw "Invalid request" exception.
Expected behavior
Get tasks from list and get individual task should work correctly with $select parameter as it's said in documentation
How to reproduce
// get collection of tasks lists
var tasksLists = await graphClient.Me.Todo.Lists.GetAsync();
// get Id of the first tasks list
var listId = tasksLists.Value.First().Id;
// try to get tasks with $select parameter
// This code throws exception "Invalid request"
var tasks = await graphClient.Me.Todo.Lists[listId]
.Tasks
.GetAsync(rc => rc.QueryParameters.Select = new string[] {"id", "title"})
.ConfigureAwait(false);SDK Version
5.73.0
Latest version known to work for scenario above?
No response
Known Workarounds
there is no workarounds
Debug output
No response
Configuration
- Windows 11
- .Net Framework 4.8
Other information
The same question on StackOverflow
https://stackoverflow.com/q/79609269/987850