My list name is 'EmployeeData' and in that list my lookup column name is 'SectorId' and that column actual name is 'Sector'.
I want title of that lookup column:
https://site name /_api/web/lists/GetByTitle('EmployeeData')/items?select=SecotrId/Title&$expand=SectorId&$Filter=UserId%20eq%20%276%27
but I can't get the data.
I also tried:
Sector/Title$&expand=Sector
but it's showing same error "the sectorId" query field is not valid.
SectorId
and in query you are usingSecotrId/Title