Open IvanTheBearable opened 1 year ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Hi there.
We are continuing to experience this issue in a number of tenants. Please let me know if there is any additional information we can provide about the issue.
Some notes are
Hi,
I'm also experiencing this issue. [HTTP]:500 - [CorrelationId]:82cbcba0-0039-2000-7a76-8e711f340cc8 [Version]:16.0.0.23912
The strange thing in my scenario is that it is only occurring for one user (may be more, but we've tested with many other accounts and these all seem fine). The account that has the issue is the account that created the pages that the Search Results web part is on.
And perhaps even stranger, it isn't occuring on all pages. Some pages the search results web part present continue to work fine.
I've created a new page and added a search box and search results web part to it and the same error occurs. One thing I have noticed is that changing the 'Result Source Id / Scope|Name' configuration clears the error, but as soon as I pick LocalSharePointResults again, the error returns.
I'm sure the details above aren't particularly helpful on their own but may provide some clues to help with diagnosing the issue.
The version I am using is 4.5.4 I can also confirm that v3 seems fine.
Thanks, Joe
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
PostQuery requests sent by the PnP Modern Search web parts are returning intermittent 500 responses with a message "An unknown error occurred". Exactly the same request will work one time and then, a few minutes later, fail. This suggest, to me, that the issue is with the API.
I have seen the error on several tenants over recent months but it has always been very rare so hasn't had much investigation. It has recently started happening much more frequently on one particular tenant. I have yet to identify any pattern or reason for that.
As with most intermittent issues, there is not much to go on here. I will add more information as I find it, and hopefully other people experiencing the same issue may be able to add useful details.
Steps to reproduce
Here is an example request:
This example was constructed and sent by the PnP Modern Search web part to a /_api/search/postquery endpoint. In this example, the web part has a search template of
PPR:({searchTerms})
and a query string of12345 OR 67890
.Expected behavior
Expect the same results on each request.