Skip to content

People search API returning "Unknown error" #10922

Description

@mbice

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

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

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

Image

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.

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.sharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions