Search Results webpart not working with longer query users profile filters

Copper Contributor

We have a search query which filters the news based on current user's profile properties. Our query is bit longer with length of 1,409 characters, but this is within the limit only.


Since yesterday, we are getting an errorfor our kql query on our DEV tenant with the following error:
Error making HttpClient request in queryable [500] ::> {"odata.error":{"code":"-1, Microsoft.Office.Server.Search.REST.SearchServiceException","message":{"lang":"en-US","value":"An unknown error occurred."}}}


Steps to reproduce the behavior:
1. Create a query which filters based on current user's profile properties such as department, region, country and additional country, site name and also different news category topics.
2. If the all the news category topics (we have 20 topics selected), then the webpart starts failing with above given error.


The same query is working on other tenants, we are afraid that this also affects on prod. 


Any suggestions please.

2 Replies

@Aruna Gottimukkala I'm having the same issue.  Are you using the PnP Search webpart?

Hi Edgar, yes am using PnP search webpart. we limited number of filters to avoid limitation. we were using v3.9.1. If we use later version, I guess this issue is solved.