I have one list which contains cross-site lookup field. I need to filter with this field using REST API. Below is my URL
var url = _spPageContextInfo.webAbsoluteUrl + "/_api/web/Lists(guid'" + listId + "')/items/?$select=Created,Title,Project/Id&$expand=Project/Id&$filter=Project/Id eq 3"
It gives below error
Microsoft.SharePoint.SPExceptionThe field or property 'Project' does not exist.
Any help would be appreciated.