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.
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.