A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Dear Dhwanit,
Thanks for your updates and confirmation.
As the issue is about the Rest API query doesn’t work in your SharePoint Online environment and our category may have limited resources on this SharePoint development related issue, more resources may be involved on checking on this issue. For further investigation, I suggest you contact the administrator in your company if you aren’t the administrator and follow the steps in the article to open a ticket in the Office 365 admin center.
To help you in speeding up in opening a ticket and solving the issue, I’d like to summarize the issue as follows.
Issue Symptom:
=================
When using Rest API query _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/getbytitle('Test')/items?$expand=Author&$select=*,Author/Id" to fetch the dta from the list with the lookup columns, the query doesn’t work now in the customer’s environment.
The following error message pops up.
The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator.
Issue Environment:
=============
SharePoint Online
Next Step:
=============
More resources may be involved on checking the issue in the customer’s environment.
Your understanding is highly appreciated.
Cliff