SharePoint filter query not valid
Seen when a run fails · Updated 8 November 2026
The message
The expression "Status eq Closed" is not valid.
What it means
OData filter syntax: text values need single quotes, comparisons are eq, ne, gt, lt, ge, le, and dates are ISO in quotes.
How to fix it
- Quote text: Status eq 'Closed'.
- Combine with and / or: Status ne 'Closed' and DueDate lt '2026-11-01'.
- For a Yes/No column compare to 1 or 0; for a person column use AssignedTo/EMail eq 'someone@company.co.uk'.
Not quite your message? Paste the whole thing into the Flow Doctor. It reads the step, property and expression out of your exact wording and, for the stubborn ones, the AI reads the flow it happened in.
How to find the full error in Power Automate
- Open the flow and look at 28-day run history.
- Select the failed run (red cross), then the step with the red cross.
- The error is in that step's box; some are under Show raw outputs. Copy the whole thing, including the code at the start.
Other SharePoint errors
- SharePoint column not found
- SharePoint access denied (403)
- File, item or list not found (SharePoint or OneDrive)
- Power Automate can't read the list or library from the step's settings
AutomateAlong is independent and isn't affiliated with Microsoft. Microsoft and Power Automate are trademarks of the Microsoft group of companies.