-
Notifications
You must be signed in to change notification settings - Fork 1k
People search API returning "Unknown error" #10922
Copy link
Copy link
Open
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.sharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Description
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.sharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
No response
Describe the bug / error
We noticed the other day that the people search REST API has started to throw errors. Initially reproduced it on our internal test tenant, but now seeing it on several production tenants. Seems like it is broken everywhere, now. Whenever we use the /_api/search/query endpoint using the people result source ID, it returns "Unknown error".
We are also seeing that the issue doesn't reproduce for all users. Seems to be more consistently reproduced with admin/owners.
Steps to reproduce
Navigate to the following URL (if it doesn't reproduce try as an administrator or owner):
https://[tenant].sharepoint.com/_api/search/query?querytext='MOD'&sourceid='b09a7990-05ea-4af9-81ef-edfab16c4e31'And you'll get 500 error response with message "An unknown error occurred".
NOTE: We are seeing the same error in some other search queries that are not people specific, but can't identify a clear pattern, yet. Still investigating, but seems that this also affects querying against local sharepoint results source as well, but only in some scenarios.
Expected behavior
Expect to see people search results returned as they have been up until a couple of days ago.