-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
Description
Describe the bug
My application needs to find all Todo Tasks that have & symbol in title field.
So to test filter criteria i execute request with filtering contains(title, '&'):
GET https://graph.microsoft.com/v1.0/me/todo/lists/{taskListId}/tasks?$filter=contains(title, '&')MsGraph Explorer returns error:
{
"error": {
"code": "BadRequest",
"message": "Invalid filter clause: There is an unterminated string literal at position 17 in 'contains(title, ''.",
"innerError": {
"date": "2025-08-12T10:10:45",
"request-id": "e695156b-cfbb-4678-a057-5ca74aa7902c",
"client-request-id": "387e4304-d15f-74f0-759d-abf610489e23"
}
}
}To Reproduce
Steps to reproduce the behavior:
- Execute request https://graph.microsoft.com/v1.0/me/todo/lists/{taskListId}/tasks with filter criteria
contains(title, '&') - Link should be similar to
https://graph.microsoft.com/v1.0/me/todo/lists/{taskListId}/tasks?$filter=contains(title, '&')
Expected behavior
MsGraph Explorer should encode special symbols in request and execute it and return correct result
Reactions are currently unavailable