I was making a rest api call with Odata filter author/id. I want to get survey responses of a particular user.
_api/Web/Lists(guid'id')/items?$select=Id,Author/ID&$expand=Author/ID&$filter=(Author/ID eq 21)
But I am getting an error :
The field 'Author' of type 'User' cannot be used in the query filter expression.
How to resolve this issue?